Jacob Berglund (@jacobberglund) profile picture

Making blazing fast websites, CSS shenanigans and browser mischief.

Trondheim, Norge
Joined April 2009
Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)Photo by Jacob Berglund (@jacobberglund)
Jacob Berglund retweeted
Looking for examples of how much you can push CSS :has()? ✨ tr:has(:checked) ~ tr:has(:hover) .cell:has(~ .cell:hover) Grab the table cells in a row before the cell that is hovered in a row that comes after a row that has a checked cell 🫠
23
184
9
1,738
131,528
Jacob Berglund retweeted
Some sensible defaults for your img elements:
13
149
6
1,617
235,369
Jacob Berglund retweeted
🧑‍🚀⭐ Calling all aspiring astronauts—Astro 3.0 touches down next week. We're giving away 10 of these official Astro hats to celebrate! Retweet for your chance to win.
65
1,039
64
821
188,908
Jacob Berglund retweeted
🚀 Pop pop! Framer Motion 7.2 introduces the "popLayout" mode to AnimatePresence. In this mode, exiting elements will be popped from the page layout, allowing surrounding elements to animate into place immediately. Sandbox: codesandbox.io/s/framer-moti… Docs: framer.com/docs/animate-pres…
13
73
7
604
Performance tip: try the `decoding` attribute for images to allow decoding to be async and not block the main thread, allowing your content to display faster
21
389
15
2,271
Feels like we are just getting started on how grid can help simplify the less glamorous parts of writing CSS. In this example, 3 lines replaces 2 selectors.
🤤
Since many of you have asked, we thought we should let the cat out of the bag…
1
Jacob Berglund retweeted
✨ Live Update: ✨ Announced that Craft Cloud is coming Craft CMS as a service in addition to hosted Craft CMS #DotAll19 #craftcms
7
9
3
40
Inget engagerar så mycket som böjningar här på @variant_as! 🔥🤓
1
Jacob Berglund retweeted
8
210
13
1,177
swooosh 🛫🛬
This Post is from an account that no longer exists. Learn more
i feel this in my bones
26
832
62
4,860
Jacob Berglund retweeted
Although not a designer, I’ve become increasingly aware of the recent homogeneity of web design. I got into the web during the golden era of Zen Garden, CSS gallery sites, and self-expression, and that’s become rare nowadays.
42
84
8
437
Jacob Berglund retweeted
“This technical debt can wait. I have a feature to deliver!”
64
2,854
235
6,449
Here's a typescale. Nested calcs and custom props shenanigans.
This.
🏔 The Great Divide ⛰ css-tricks.com/the-great-div… There is a strongly-felt separation between Javascript-focused developers and front-end developers focused elsewhere. These are observations from me and the wider community.
Jacob Berglund retweeted
Finally tidied this bad boy up! I love the intersection of tech and art <3
54
579
54
4,139