Search code examples
google-chrome-devtools

How to view truncated inline style CSS blocks in Chrome Dev Tools?


I'm trying to track down the source of some bad styling in the browser, but when I click through to the source of it from the Styles pane, I'm taken to one of many inline <style> blocks that are automatically generated on the page, which after a certain point, is truncated with , as seen below. If I try to "Edit as HTML" or other methods to copy the block's contents, it doesn't expand this. Is there any way to see the full source of it?

Chrome Dev Tools screenshot of Elements pane where CSS is truncated with "…"


Solution

  • Right Click the element and choose "Edit as HTML". This will allow you to see the full text