Search
Overflow And Data Loss In CSS
17.9.2019
"Data Loss" is a funny term. My brain thinks of like packet loss on the way from the server to your browser, resulting in missing content in files. Perhaps it is that on some level, but in CSS parlance, it has to do with the overflow property. Too much content for sized container + hidden overflow...
Making width and flexible items play nice together
1.7.2019
The short answer: flex-shrink and flex-basis are probably what you’re lookin’ for.
The long answer
Let’s say you want to align an image and some text next to each other with like this:
Now let's say you reach for flexbox to make it happen. Setting the parent element to display: flex; is a good...
The Ultimate Guide to Flexbox Centering
27.6.2019
Flexbox is a popular CSS layout module that helps you position HTML elements on the screen. There are multiple use cases when it can be a godsend; horizontal and...
The post The Ultimate Guide to Flexbox Centering appeared first on Onextrapixel
Grid, content re-ordering and accessibility
13.6.2019
Take this:
<ol>
<li>Get hungry</li>
<li>Order pizza</li>
<li>Eat pizza</li>
</ol>
That HTML ends up in the DOM that way (and thus how it is is exposed to assistive technology), and by default, those list items are also visually...
Animated Image Columns
16.5.2019
An experimental web layout where several image columns get animated out when a menu item is clicked.
Animated Image Columns was written by Mary Lou and published on Codrops
Spoják #9 – #10: CSS slibuje matematiku. Promise.any slíbí cokoliv.
11.3.2019
Heslovitě: Git 2.21. Go 1.12. Flutter 1.2. Promise.any([...]). Matematika v CSS. Win10 Sandbox. Package Diff. Play.js. Flexbox vs grid. Standard C++20. Sparksoniq. GHIDRA
Text Trail Effect
27.2.2019
A text trail effect for a slideshow inspired by the "Abstract is hiring" Dribbble shot.
Text Trail Effect was written by Mary Lou and published on Codrops
Responsive Designs and CSS Custom Properties: Building a Flexible Grid System
26.2.2019
Last time, we looked at a few possible approaches for declaring and using CSS custom properties in responsive designs. In this article, we’ll take a closer look at CSS variables and how to use them in reusable components and modules. We will learn how to make our variables optional and set fallback...
CSS Variables + calc() + rgb() = Enforcing High Contrast Colors
21.2.2019
As you may know, the recent updates and additions to CSS are extremely powerful. From Flexbox to Grid, and — what we’re concerned about here — Custom Properties (aka CSS variables), all of which make robust and dynamic layouts and interfaces easier than ever while opening up many other...
IE10-Compatible Grid Auto-Placement with Flexbox
18.2.2019
If you work on web applications that support older browsers, and have lusted after CSS Grid from the sidelines like I have, I have some good news: I've discovered a clever CSS-only way to use grid auto-placement in IE10+!
Now, it's not actually CSS Grid, but without looking at the code itself,...
Quick! What’s the Difference Between Flexbox and Grid?
12.2.2019
Let's go rapid fire and try to answer this question with quick points rather than long explanations. There are a lot of similarities between flexbox and grid, starting with the fact that they are used for layout and much more powerful than any layout technique that came before them. They...
Learn Flexbox on an Example Helpful and Enlightening Code Snippets
26.1.2019
Flexbox is a box module system that does not need any introduction, especially for those who uses CSS on a daily basis. It is a real lifesaver when it...
The post Learn Flexbox on an Example Helpful and Enlightening Code Snippets appeared first on Onextrapixel
Putting the Flexbox Albatross to Real Use
24.1.2019
If you hadn't seen it, Heydon posted a rather clever flexbox layout pattern that, in a sense, mimics what you could do with a container query by forcing an element to stack at a certain container width. I was particularly interested, as I was fighting a little layout situation at the time I...
Collective #486
24.1.2019
What Parallax Lacks * Fullstack GraphQL bootcamp * Table Design Patterns On The Web * console.chat * Flexbox.ninja
Collective #486 was written by Pedro Botelho and published on Codrops
Collective #483
14.1.2019
The Flexbox Holy Albatross * destyle.css * Conversations with Robots * 2018 JavaScript Rising Stars
Collective #483 was written by Pedro Botelho and published on Codrops
Piecing Together Approaches for a CSS Masonry Layout
11.1.2019
Masonry layout, on the web, is when items of an uneven size are laid out such that there aren't uneven gaps. I would guess the term was coined (or at least popularized) for the web by David DeSandro because of his popular Masonry JavaScript library, which has been around since 2010.
JavaScript...
Algorithmic Layouts
10.1.2019
Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox...
Spoják – týden první. To nejdůležitější z webového vývoje za minulý týden. Spojeno dohromady.
8.1.2019
Heslovitě: PHP updatuje. Retro Virtual Machine. Python Humble Bundle. Scratch 3.0. CSS Grid v IE. Flexbox v DevTools. Doom 3 jako WebAssembly. Awesome cheatsheets. unCAPTHA2. Python 3.7 ve Win Store. Google Fuchsia a Android apps. Orinoco z V8. RunJS. LowJS. AVA 1.0. DBCLI
WDRL — Edition 244: Flexbox Use Cases, JavaScript’s Bind Operator and what we can do against climate change
12.10.2018
Hey,
This week I’ll dedicate the introduction to our environment and what each of us can do to protect it. With the latest studies and official reports out this week, it seems that in order to avoid an irreversible climate change on planet earth we need to act drastically within the next...
The peculiar magic of flexbox and auto margins
27.7.2018
In front-end development, there are often times when I know that I don’t know something. I might know enough to know what CSS to search for, but I have absolutely no idea how to use it or what the right syntax is. Somehow, in my head, there appears to be a filing cabinet that’s entirely empty,...