Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72443

How to match a corresponding css from a point in html?

$
0
0

I wanna achieve something like LiveCSS in Calibre: When placed a cursor in html source, get the corresponding css style of that point. Any suggestions? It's like the thing in the screenshot. The selected text is on the left pane, corresponding CSS rules on the right. enter image description here I want to do a similar thing in Python - given a point in a string containing HTML source, return CSS style rules for that point.


Viewing all articles
Browse latest Browse all 72443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>