Found 45 bookmarks
Custom sorting
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
Since the introduction of CSS viewport units in 2012, many of us have been using `width: 100vw` as a way to set an element’s width to the full width of the viewport. But, as Šime Vidas explains in this deep dive, `100vw` does not always represent the full width of the viewport due to differences in how browsers handle scrollbars.
·smashingmagazine.com·
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
Responsive iframes with the CSS aspect-ratio property
Responsive iframes with the CSS aspect-ratio property
Today, I want to show you can use a few lines of CSS to make your embedded iframes fully responsive. Let’s dig in! The challenge with iframes and responsive layouts Unlike images and the native HTML5 video element, iframes do not scale responsively by default. /** * This does NOT work */ iframe { max-width: 100%; height: auto; } Years back, Dave Rupert put together a great video showing the challenge with responsive iframe videos.
·gomakethings.com·
Responsive iframes with the CSS aspect-ratio property
CSS Clamp: The Goldilocks of CSS Math Functions
CSS Clamp: The Goldilocks of CSS Math Functions
There is a problem I have wrestled with a couple of times, which was frustrating to solve… but can now be easily solved using clamp, which is currently in an Editors Draft of the CSS Values and Units Module Level 4 specification. It is sat alongside similar mathmatical CSS nuggets, such as min and max […]
·stevefenton.co.uk·
CSS Clamp: The Goldilocks of CSS Math Functions
CSS Viewport Units - Ahmad Shadeed
CSS Viewport Units - Ahmad Shadeed
CSS Viewport units have been around for the last few years, and by time, I see them being used more and more by developers. Their benefit lies in providing u...
·ishadeed.com·
CSS Viewport Units - Ahmad Shadeed
Tables, CSS Display Properties, and ARIA
Tables, CSS Display Properties, and ARIA
This post has two separate but related things going on. One is an example of one of my responsive tables with ARIA added, and the other is the Twitter conversation that started this along with some generalized responses. Responsive Table with Semantics Retained by ARIA The Tweet What You Can…
·adrianroselli.com·
Tables, CSS Display Properties, and ARIA
Table Design Patterns On The Web
Table Design Patterns On The Web
Tables are a design pattern for displaying large amounts of data in rows and columns, and have not yet seemed to fall out of favor, so let’s take a look at how we can create tables on the web in 2019.
·smashingmagazine.com·
Table Design Patterns On The Web