22 results for CSS
develwoutacause’s Twitter Archive—№ 383
RT @5t3ph: 🟣 CSS Quick Tip: Did you know you can access an attribute's value within CSS? In this rule, we're appending the value of the `…
develwoutacause’s Twitter Archive—№ 50
TIL :host-context() is a CSS selector for matching ancestor elements to a shadow tree. Great for use cases like theming when prefers-color-scheme isn't available. css :host-context([theme="dark"]) { background-color: black; }
develwoutacause’s Twitter Archive—№ 688
#Obervation: #CSS is not designed to be tree shakable. Any given selector could apply to an element created at runtime via #JavaScript. CSS itself has no means of disambiguating styles
develwoutacause’s Twitter Archive—№ 989
RT @justinfagnani: @WestbrookJ @AgentZeroNine We need a declarative form of CSS module scripts to go along with declarative shadow DOM. I…
develwoutacause’s Twitter Archive—№ 1,071
found a way to do this which doesn't duplicate the CSS or lazy load it and cause FOUC.