2

I'm trying to see what default css values (possibly source code?) are for webkit psuedoelements so that I can create custom webkit items that are very similar to the default, but slightly customized.

These items are shadow elements that don't show up in the DOM. you can enable 'Show user agent shadow DOM' in chrome devtools settings, per Inspect webkit-input-placeholder with developer tools, but i'm still not seeing elements in the DOM. I suspect the styles are being provided by user agent stylesheet for these webkit items

Stevie
  • 326
  • 3
  • 16

1 Answers1

-2

Load a page utilizing the CSS in question with your browser, then you can use developer features to inspect it.

  1. Right-click the page
  2. In Chrome, the menu choice is 'Inspect'
  3. The screen will split, the page source appears on the bottom of your screen (not sure what happens if browsing on a phone)
  4. On the bottom of the screen, you will see the html, on the bottom right you will see the pertinent CSS you select some html on the right.
  5. Note there is a link to the style sheet on the far right, click to view
  6. Unfortunately, the link is hard to read because all spaces and linefeeds have been removed, but you can paste it into an editor and make it easier to read Chrome screen shot
ActualRandy
  • 180
  • 1
  • 8