162 points by surprisetalk 7 days ago | 43 comments
Running Animations Without Keyframes(css-tip.com) Using the new @starting-style you can create animations without using @keyframes. It's not a replacement for the classic way to create animations but it can be a useful CSS trick in some situations.
Cascading Spy Sheets: Exploiting the Complexity of Modern CSS for Fingerprinting(cispa.de) In an attempt to combat user tracking, both privacy-aware browsers (e.g., Tor) and email applications usually disable JavaScript. This effectively closes a major angle for user fingerprinting. However, recent findings hint at the potential for privacy leakage through selected Cascading Style Sheets (CSS) features. Nevertheless, the full fingerprinting potential of CSS remains unknown, and it is unclear if attacks apply to more restrictive settings such as email.
115 points by robin_reala 11 days ago | 28 comments
Grid by Example(gridbyexample.com) This site is a collection of examples, video and other information to help you learn CSS Grid Layout. Developed and maintained by Rachel Andrew.
My favourite colour is Chuck Norris red(htmhell.dev) Setting the colour of text on a webpage is usually a simple affair involving whipping it out the good ol' CSS color property. But this is HTMHell, dammit. None of that wishy-washy CSS nonsense here. No siree. We use HTML as the good lord intended and shalln't stray into the sins of cascading sheets lest we end up some non-HTML variant of hell where they define page structure with JavaScript vars.
Dark Mode in CSS Guide(css-tricks.com) Dark mode has gained a lot of traction recently. Like Apple, for instance, has added dark mode to its iOS and MacOS operating systems. Windows and Google have done the same.
35 points by thunderbong 52 days ago | 11 comments
IE7 and IE7 (2005)(meyerweb.com) As noted on the WaSP site, the IE team is asking developers to clean up their CSS hacks because they’re causing sites to break in IE7 builds.
Tailwind CSS v4.0 Beta 1(tailwindcss.com) About eight months ago we open-sourced our progress on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I’m excited to finally tag the first public beta release.
3 points by yucelfaruksahan 60 days ago | 0 comments
The ‘contain’ CSS property(mozilla.org) The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree.
Bulma CSS Framework(bulma.io) Bulma is a free, open source framework that provides ready-to-use frontend components that you can easily combine to build responsive web interfaces.
A Modern CSS Reset (2024 update)(joshwcomeau.com) Whenever I start a new project, the first order of business is to sand down some of the rough edges in the CSS language. I do this with a functional set of custom baseline styles.
Two examples of hover styles on images(alexwlchan.net) I enjoy adding :hover styles to my websites. A good hover style reminds me of how fast and responsive our computers can be, if we let them. For example, I add a thicker underline when you hover over a link on this site, and it appears/disappears almost instantly as I move my cursor around. It feels snappy; it makes me smile.
Inline Scope for CSS(picostitch.com) I am not tightly following what's going on in CSS land, since blogs are not the thing and mailing lists became spam lists I don't know where to "listen". But from time to time I read MDN and look for the things that I expect CSS and HTML to provide. And funny enough, often my expectations and reality are aligned. Maybe because the missing things are just so obvious :).