nerdculture.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
Be excellent to each other, live humanism, no nazis, no hate speech. Not only for nerds, but the domain is somewhat cool. ;) No bots in general. Languages: DE, EN, FR, NL, ES, IT

Administered by:

Server stats:

1.2K
active users

#css

107 posts83 participants0 posts today

What I really like about the current state of #CSS with things like grid, flexbox, relative units, etc.:

It is "describe your intent and let the browser handle the math and details". It can be complex at times, because you have to clearly express your intent, but it's also immensely powerful.

I still remember getting yelled at by so called "Art Directors" for not being able to 100% reproduce their "pixel perfect" Photoshop layouts across multiple browsers and operating systems.

Continued thread

Is #CSS-in-JS still a thing? "There has been almost a decade of churn in this space, from Glamor (unmaintained) to styled-components (maintenance mode) to styled-jsx (mostly dead)… By contrast, frameworks like Svelte and Vue seem to have solved this problem." fullystacked.net/css-in-js-sti

fullystacked.netIs CSS-in-JS still a thing?styled-components goes into maintenance mode. Newer tools like StyleX and vanilla-extract haven't matched its popularity.

Is it possible to use a view transition for an exit animation of something in the top-layer? For example, a popover that’s open, but following a link within it causes a transition (and consequently the popover is closed after the transition). #CSS #LazyWeb

Using #CSS Variables Correctly: "In most cases, I consider it code smell if a media query swaps one variable for another. Rather than swapping variables it's better to define one variable, set its initial value and change it with a selector or media query." madebymike.com.au/writing/usin

Page image for MadeByMike
MadeByMikeUsing CSS Variables Correctly - MadeByMikeCustom Properties have the potential to change how we write and think about CSS.