Search

Nalezeno "layout": 57

SmolCSS


A wonderful collection of little layout-related CSS snippets from Stephanie Eckles that serves both as a quick reference and a reminder of how straightforward and powerful CSS has become. Random things to note! The resizeable containers aren’t some JavaScript library. … The post...

Responsible Web Applications


Joy Heron bought a cool domain name and published an article there: Luckily, with modern HTML and CSS, we can create responsive and accessible web apps with relative ease. In my years of doing software development, I have learned some … The post Responsible Web Applications appeared first...

Razer’s Huntsman V2 Is That Rarest Of Beasts: An Analog Keyboard


Most mechanical keyboard switches have two states, on or off. The switches inside Razer’s new $250 Huntsman V2 Analog keyboard sense degrees of motion, allowing users to set their own actuation depth, apply degrees of pressure like with an analog joystick, or even have one key perform multiple...

Horizontal Smooth Scroll Layouts


Some ideas for horizontal smooth scrolling layouts powered by Locomotive Scroll. The post Horizontal Smooth Scroll Layouts appeared first on Codrops

Inline Menu Layout with Gallery Panel


An inline menu layout with a playful hover animation and a gallery content preview panel. The post Inline Menu Layout with Gallery Panel appeared first on Codrops

In Defense of Tables and Floats in Modern Day Development


Twenty-plus years ago, tables were the main way web pages were created in HTML. It gave web builders consistent control of constructing pages with some “design.” No longer did sites only have to be top-to-bottom in a linear manner — they could be set up with columns that align left-to-right...

Full Bleed


We’ve covered techniques before for when you want a full-width element within a constrained-width column, like an edge-to-edge image within a narrower column of text. There are loads of techniques. Perhaps my favorite is this little utility class: .full-width { width: 100vw; position:...

Thumbnail to Full Width Image Animation


An experimental animation where an image goes from thumbnail to full width, allowing for a classy entry to an article view. The post Thumbnail to Full Width Image Animation appeared first on Codrops

10 modern layouts in 1 line of CSS


Una doing an amazing job of showing just how (dare I say it?) easy CSS layout has gotten. There is plenty to learn, but what you learn makes sense, and once you have, it’s quite empowering. The demos are all together here. Direct Link to Article — Permalink… Read article...

A Lightweight Masonry Solution


Back in May, I learned about Firefox adding masonry to CSS grid. Masonry layouts are something I’ve been wanting to do on my own from scratch for a very long time, but have never known where to start. So, naturally, I checked the demo and then I had a lightbulb moment when I understood...

Styling Layout Wrappers In CSS


Two things that strike me often about the web are how many ways there are to go about the same thing and how many considerations go into even the most seemingly simple things. Working with wrapper elements is definitely on both those lists. Wrappers (or containers or whatever) are so common...

Overlapping Header with CSS Grid


Snook shows off a classic design with an oversized header up top, and a content area that is “pulled up” into that header area. My mind goes to the same place: Historically, I’ve done this with negative margins. The header has a height that adds a bunch of padding to the bottom...

Exciting Things on the Horizon For CSS Layout


Michelle Barker notes that it’s been a heck of a week for us CSS layout nerds. Firefox has long had the best DevTools for CSS Grid, but Chrome is about to catch up and go one bit better by visualizing grid line numbers and names. Firefox supports gap for display: flex, which is great,...

Making Things Better: Redefining the Technical Possibilities of CSS


(This is a sponsored post.) Robin recently lamented the common complaint that CSS is frustrating. There are misconceptions about what it is and what it does. There are debates about what kind of language it is. There are even different views on where it should be written. Rachel Andrew has a...

Same HTML, Different CSS


Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and tags. Then he redesigns the card into five totally different designs without touching any of the HTML just the CSS. If this is an ah-ha moment...

Helping Browsers Optimize With The CSS Contain Property


There is a growing number of things that we have to do to help the browser achieve for peak performance. Responsive image syntax has several. For example, needing to tell the browser how large the image will be in our layout with the sizes attribute and how big the images are with w descriptors....

3D Folding Layout Technique for HTML Elements


A tutorial on an experimental 3D layout technique for HTML elements with endless possibilities. 3D Folding Layout Technique for HTML Elements was written by Daniel Velasquez and published on Codrops

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace