Links
Solved By Modern CSS: Feature Image
I have an image and a caption. On small sizes, the caption is displayed in a classic style. If the container is large enough, I want to rotate the image and show the caption in a circular style, positioned at the bottom-right corner. We can use container queries and CSS
:has()
to build that.
calc-size() and interpolate size
Animating to or from
height: auto
has been something front-end developers have had on their wishlist for a very long time, and now, not only can we do that very easily, but there are new possibilities that have opened up on top of that as well, all thanks to two new CSS features: theinterpolate-size
property, and thecalc-size()
value function.
Animating Entry Effects
@starting-style
andtransition-behavior: allow-discrete
unlock the potential for animated storytelling that previously required JavaScript to achieve similar effects. With these tools now baked into CSS directly, how will you use them?
Isomorphic Web Components
Web components might be great, if only you could render them on the server. Or can you? The lack of server-side rendering has become a sort of folk belief that oft goes unquestioned, and many people form opinions based on this (alleged) missing feature. Well, I am happy to report that the fears are unfounded: you can absolutely server-side render a web component.
Ethical Web Principles
The web should be a platform that helps people and provides a positive social benefit. As we continue to evolve the web platform, we must therefore consider the consequences of our work. The following document sets out ethical principles that will drive W3C's continuing work in this direction.
Videos
GIFs Are Forever, Let’s Make Them Better!
Everyone loves animated GIFs, right? Not if you have finite bandwidth, a shaky network connection or motion sensitivity! But fear not: Thanks to newly supported media formats, shiny new web standards and the magic of web components, there’s never been a better time for web designers and front-end developers to level up our GIF game!
Sponsor
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! They solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations.
If you’d like to help with the costs of running Friday Front-End, you can back our Patreon for as little as a dollar a month.