That's right, CSS inside HTML 😁
This element is not limited to just dimension based media queries, but rather any media query! So you could do things like
💭 Different images for different orientaations
💭 Different image if user prefers high contrast
💭 Different images for different color schemes (light, dark)
The possibilities are endless 🚀
At first, it might throw you off that we are writing CSS media queries inside HTML, but it is a necessity for this setup to work properly. Think about it 🤔 the browser has to choose an image to render, even before any CSS is loaded into the page!
This element is not limited to just dimension based media queries, but rather any media query! So you could do things like
💭 Different images for different orientaations
💭 Different image if user prefers high contrast
💭 Different images for different color schemes (light, dark)
The possibilities are endless 🚀
Forwarded from Learn React and NextJs
React Router is a powerful routing library that allows developers to handle navigation and URL routing in a declarative and efficient way within a React application.
❤2
Forwarded from The Startups VC
📈 Figma stock pops on IPO debut, hits $47B market cap
Figma finally went public—and Wall Street couldn’t get enough. The design platform opened at $33, surged to $124, and closed at $115.50, ending the day with a $47B market cap.
🔸 IPO demand was so high, trading was briefly halted due to volatility
🔸 Retail buyers joked online about being allocated just 1 share
🔸 Market cap doubled Adobe’s failed $20B acquisition offer from 2023
🔸 After-hours trading stayed hot, with continued price action
📊 Powered by The Startups VC
Figma finally went public—and Wall Street couldn’t get enough. The design platform opened at $33, surged to $124, and closed at $115.50, ending the day with a $47B market cap.
🔸 IPO demand was so high, trading was briefly halted due to volatility
🔸 Retail buyers joked online about being allocated just 1 share
🔸 Market cap doubled Adobe’s failed $20B acquisition offer from 2023
🔸 After-hours trading stayed hot, with continued price action
Figma didn’t just rebound from a blocked deal—it sprinted past it.
📊 Powered by The Startups VC
❤3