Only things so far—I wish you could change the font of the leaders in the table of contents and i wish the table of contents styles were more flexible.
Only things so far—I wish you could change the font of the leaders in the table of contents and i wish the table of contents styles were more flexible.
CSS:
.Massachusetts
CSS-in-JS:
.acf6ed3e
BEM:
.us_state__massachusetts
Tailwind:
absolute top-1/2 left-1/2 z-10 hidden -translate-x-1/2 -translate-y-1/2 gap-[calc(1rem/16*7)] rounded-full border border-gray-950 bg-gray-950/90 py-0.5 pr-2
CSS:
.Massachusetts
CSS-in-JS:
.acf6ed3e
BEM:
.us_state__massachusetts
Tailwind:
absolute top-1/2 left-1/2 z-10 hidden -translate-x-1/2 -translate-y-1/2 gap-[calc(1rem/16*7)] rounded-full border border-gray-950 bg-gray-950/90 py-0.5 pr-2
margin-trim is cool too i just learned so much im in awe
I intentionally made this article easy breezy.
12daysofweb.dev/2024/css-mar...
margin-trim is cool too i just learned so much im in awe
It will allow you to compose CSS variables from other variables, making code like this possible. 😍
Spec: drafts.csswg.org/css-values-5...
Proposal (by @bram.us ): github.com/w3c/csswg-dr...
It will allow you to compose CSS variables from other variables, making code like this possible. 😍
Spec: drafts.csswg.org/css-values-5...
Proposal (by @bram.us ): github.com/w3c/csswg-dr...
- in Canary DevTools today
- coming to Chrome stable soon!
td:has(~ td:hover), /* previous sibling cells */
table:has(td:nth-of-type(3):hover) /* column cells */
tr:not(:first-of-type):has(~ tr:hover)
td:nth-of-type(3) {
background: var(--highlighted);
}
td:has(~ td:hover), /* previous sibling cells */
table:has(td:nth-of-type(3):hover) /* column cells */
tr:not(:first-of-type):has(~ tr:hover)
td:nth-of-type(3) {
background: var(--highlighted);
}
Need something more custom? With this one you can generate main colors for your site and preview them easily
Need something more custom? With this one you can generate main colors for your site and preview them easily