In #Google #Chrome, it is possible to apply self-alignment attributes such as align-self, justify-self, and place-self to the grid container within a block element. According to the official specification, this should not be possible. #Firefox is more precise in this case, so it is only possible to align an element (grid subelement) within a grid container itself.

https://www.w3.org/TR/css-grid-1/#alignment

#css #frontend #web #development #browser #cssgrid #grid #w3c #webstandards web #technology

CSS Grid Layout Module Level 1

Day 19/100: Mondrian generator 🎨

Constraint: no JavaScript, no canvas, no SVG. Just #HTML5 + #CSSGrid.
#Perl script generates layouts via recursive subdivision → pure HTML output.

CSS Grid gaps = Mondrian's black lines. Grid cells = colored blocks. Composition emerges from structure.
~3KB result. Works in every modern browser. Fully readable source.

Generative art = aesthetic principles as algorithms.

https://github.com/alexaac/mondrian-html-only

#100DayMapChallenge #GenerativeArt #CreativeCoding

Patrick - Embrace the chaos — The shape and flow of masonry layouts

Ramblings about the layout shape and item flow in masonry, and how that compares to other types of CSS layouts. Masonry is a pretty unique layout type, one where embracing the chaos of the layout can be the best approach.

Patrick Brosset
Curso de CSS Intermediário Gratuito da Codecademy - Guia de TI

Curso de CSS intermediario gratuito da Codecademy com projetos práticos. Aprimore seus layouts e destaque seu portfólio!

Guia de TI

So I saw a demo in the @codepen Spark and I liked the idea, but it was too JS-heavy for my taste, plus I would have preferred the rotation animations to be "hinged" around the top/ bottom edge depending on direction.

So I did it with pure #CSS on scroll https://codepen.io/thebabydino/pen/JoKqRjZ

cc @bramus

#cssScrollAnimation #scrollEffect #code #cssTransforms #cssTransform #css3D #3D #coding #frontend #cssLayout #web #dev #webDev #webDevelopment #cssGrid #cssFlex #flexbox #cssVariables #cssTransition

#Development #Overviews
CSS layout fundamentals · Master the core concepts behind CSS layouts https://ilo.im/16a1ic

_____
#Layouts #Positioning #Stacking #CssGrid #CssFlexbox #BoxModel #Browsers #WebDev #Frontend #CSS

Understanding the fundamentals of CSS Layout

When developers say that CSS is hard, they're usually talking about CSS layout. What often gets omitted though is that developers are assumed to understand and…

Polypane

Simple pricing cards - a demo I made on @codepen: https://codepen.io/thebabydino/pen/ZYOJgyW

I've posted even cooler pure #CSS ones (non-rectangular shapes + rounded corners, glassmorphism + border effects combined) for Ko-fi & Patreon supporters:

❇️ https://ko-fi.com/anatudor/tiers

❇️ https://www.patreon.com/c/anatudor/membership

#cssGrid #cssClipPath #clipping #code #web #dev #webDev #webDevelopment #coding #frontend

The tiny details make the difference - check out those roundings in the cards demo!

Even cooler: the shape depends on the size of the sibling it wraps around, no magic numbers. If we need the shape to grow (for ex if we want it to have more content), there's no need to change any clip-path or mask.

#CSS #SVG #filter #svgFilter #cssSubgrid #cssLayout #cssGrid

My most hearted @codepen demos of '26:

✨ Pure #CSS #3D animated carousel https://codepen.io/thebabydino/pen/dPXVyqN

✨ Scatter & #pixelate CSS gradient https://codepen.io/thebabydino/pen/zxBrmdL

✨ Cards with concave rounding on irregular grid https://codepen.io/thebabydino/pen/WbxpKPQ

First two need very little code and are heavily commented.

#SVG #filter #svgFilter #code #coding #cssTransform #cssTransforms #css3D #cssGradient #cssGrid #layout #cssLayout #cssSubgrid #frontend #web #dev #webDev #webDevelopment

#Development #Previews
When will CSS Grid Lanes arrive? · “It’s going to arrive sooner than you think.” https://ilo.im/16a21t

_____
#ModernCSS #CssGrid #Layout #Masonry #Polyfill #ProgressiveEnhancement #Browsers #WebDev #Frontend #CSS

When will CSS Grid Lanes arrive? How long until we can use it?

Anytime an exciting new web technology starts to land in browsers, developers want to know “when in the world am I going to be able to use this?” Currently, the finalized syntax for Grid Lanes is available in Safari Technology Preview.

WebKit