#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
#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
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
RE: https://mastodon.social/@anatudor/115934384628757666
This is the thing that brought me to this question, live demo on @codepen: https://codepen.io/thebabydino/pen/XJKpYmr
#CSS #cssLayout #cssGrid #code #grid #web #dev #webDev #webDevelopment #coding #frontend
Clip element on #scroll - a little pure #CSS demo I made on @codepen https://codepen.io/thebabydino/pen/vEGBOrg
Just scroll-driven animation magic 🪄✨ - no other tricks.
#cssScrollAnimation #code #coding #web #dev #webDev #webDevelopment #cssClipPath #cssGrid #cssLayout
This is what I see browsers actually doing: what I want in my simple, no wrap use case.
Slightly different things in the hypothetical case.
Chrome, Firefox, Epiphany below.
Also, please don't make fun of my browser themes. I'm a visual person, so I use themes that visually differentiate one browser from another.
#Development #Techniques
Accessible faux-nested interactive controls · How to solve a tricky accessibility problem https://ilo.im/169v7j
_____
#Nesting #HTML #Accessibility #Usability #WebDev #Frontend #DOM #CSS #CssGrid #ContainerQueries
#Development #Previews
New Safari developer tools · Safari’s Grid Inspector adds support for CSS ‘grid-lanes’ https://ilo.im/169url
_____
#ModernCSS #CssGrid #CssFlexbox #Masonry #Safari #Browser #DevTools #WebDev #Frontend #CSS
New Safari developer tools provide insight into CSS Grid Lanes
https://webkit.org/blog/17746/new-safari-developer-tools-provide-insight-into-css-grid-lanes/
#HackerNews #SafariDeveloperTools #CSSGrid #Lanes #WebDevelopment #WebKit #FrontEndDevelopment
How to use wa-grid with Vue
Last month, we explored using wa-card with Vue.js. In the final example, we created a grid layout using CSS, but Web Awesome also enables this with a WA component. Today, we’ll extend that example by integrating the WA component. Previously, we learned how to center content using Bulma and Bootstrap. WA provides a similar approach to these frameworks.
Web Awesome wants a basic grid to look like this:
<div class="wa-grid">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>You can get fancier with spans or gap definitions, but this is all you really need. So, what does the result look like?
CodePen Embed FallbackThe result looks very similar to what we did in the fourth wa-card example. The big difference is that it is more fully Web-Awesome-ized. We could end here, but we could also examine what it looks like with more data in the photos array. You might have guessed that the hard-coded examples come from JWS Pictures. When I created it, I ensured that all.json and all.xml were included so you can retrieve all the photos in your Vue app. If we add an onMounted() lifecycle hook, we can load the photos defined in the JSON file once the component has been mounted. Let’s see what that would look like.
CodePen Embed FallbackAdding all the photos doesn’t seem to affect the design. In fact, it looks pretty good. I don’t want to just dump photos onto the page, so let’s see what Array.prototype.sort() can do for us.
CodePen Embed FallbackNow, the images are sorted from newest to oldest rather than in the order they appear in the JSON file. The next step would be to sort and group the photos simultaneously. This way, it becomes clearer which photos belong to which batches. A photosByYear computed ref would allow for that.
CodePen Embed FallbackThe computed ref has properties for a year value and the photos taken in that year. Next time, we will see how we can further evolve this project.
First example: https://codepen.io/steinbring/pen/gbPJLLK/e3b93e220312e05d6c51444c22ed12ba
Second example: https://codepen.io/steinbring/pen/xbZNReX/9b05838c6096c00e08690c24900cd9be
Third example: https://codepen.io/steinbring/pen/GgqKjwM/22f21efec564bee348b1db9eb8dd90de
Fourth example: https://codepen.io/steinbring/pen/bNebwyx/5dadf66f9b55153a63a02d713f12ccc8
#CSSGrid #displayGrid #VueJs #WebAwesomeSo this got picked 🌟
#CSS #SVG #filter #cssGrid #cssLayout #cssSubgrid #svgFilter #frontend #coding #web #dev #webDev #webDevelopment #code
Wake up, wake up, wake up!
If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published a massive post about an improved technique for flexible irregular shapes.
❇️ https://ko-fi.com/post/New-year-new-technique-S6S21RHL27
❇️ https://www.patreon.com/posts/new-year-new-147448951
#CSS #SVG #filter #cssGrid #cssLayout #cssSubgrid #containerQueryUnits #code #container #svgFilter #coding #frontend #web #dev #webDev #webDevelopment
#Development #Techniques
Keeping CSS Grid simple · What to do when CSS Grid feels complex https://ilo.im/169j11
Super simple 🦌 profile cards, content aligned with subgrid - all essential layout in just 6 #CSS declarations!
Check it out on @codepen https://codepen.io/thebabydino/pen/gbMPXde
#cssLayout #cssGrid #cssSubgrid #code #web #dev #webDev #webDevelopment #coding #frontend
Pure, minimal #CSS responsive hex #grid with no breakpoints 🎇
Live on @codepen https://codepen.io/thebabydino/pen/QwWQqeR
#Maths #cssGrid #cssLayout #cssMaths #web #dev #webDev #webDevelopment #code #coding #frontend
#Development #Fun
VoxCSS · A CSS voxel engine that renders HTML cuboids https://ilo.im/1695zn
_____
#CssGrid #3D #Voxels #Layoutit #Frameworks #WebDev #Frontend #HTML #CSS #JavaScript
#Development #Fun
Happy New Year! · Who said 2026 is only black and white? https://ilo.im/169j4x
_____
#Animation #CssGrid #CssCalc #CustomProperties #Design #WebDesign #WebDev #Frontend #HTML #CSS