noleli, to CSS
@noleli@mastodon.social avatar

I told myself I’d try to blog at least once per calendar month, so here’s yet another take on breakout layouts in #css. Why are we still talking about this in 2024? I don’t know, but here we are. https://noahliebman.net/2024/05/yet-another-take-on-layout-breakouts/

A window being resized with a breakout item and an edge-to-edge item.

cssbasics, to CSS
@cssbasics@hachyderm.io avatar

Single-digit inputs with one element: "Turn a simple input into single-digit inputs using a few lines of #CSS. Useful for One-Time Password fields. No extra element (only the <input> element); Less than 15 CSS declarations; Optimized with CSS variables;" https://css-tip.com/single-digit-inputs/

mia, to CSS
@mia@front-end.social avatar

Going live with @Jamessw in 10 minutes to explore the new #css Anchor Positioning features!

https://www.youtube.com/live/76hIB2L_vs4

patrickbrosset, to CSS
@patrickbrosset@mas.to avatar

Have you used CSS Subgrid?

Looking at the comments that people left about it in the State of CSS survey 2023, I see mostly negative comments. 3 broad themes:

  1. Lack of cross-browser support.
    This is no longer a problem! Subgrid is implemented in all engine as of Chrome/Edge 117.

  2. Complexity/lack of good docs.
    Do you feel this too?

  3. Lack of actual use cases for it.

stvfrnzl, to Astro
@stvfrnzl@mastodon.online avatar

In case you're using it: I've updated my @astro starter template to the latest version.

https://astro-naut-template.vercel.app/

Also the external link component got a small, but important update. 🤗

opdavies, to CSS
@opdavies@mastodon.social avatar
mia, to CSS
@mia@front-end.social avatar

Doing another @OddBird #CSS livestream tomorrow with @Jamessw to explore Anchor Positioning! What can it do, and when can we start using it?

Join us tomorrow at 10am PT (1pm ET) on youtube:

https://www.youtube.com/live/76hIB2L_vs4

nhoizey, to CSS French
@nhoizey@mamot.fr avatar

How should I read the values for box-shadow-position in the formal syntax of box-shadow on MDN?

It says &lt;box-shadow-position&gt; = [ outset | inset ] which I read as: the value is either outset or inset. But I know outset is not supported. It is the default behavior, not the default value.

Maybe I need a documentation of these formal syntaxes… 😅

#CSS #MDN

⚓️ https://nicolas-hoizey.com/notes/2024/05/29/1/

aral, to SmallWeb
@aral@mastodon.ar.al avatar

So Kitten’s build process (i.e., the time it takes to build Kitten itself) takes ~0.7 seconds on my ~1 year old desktop (Ryzen 7 5700G 3.8Ghz) vs ~1.4 seconds on my ~3-year-old Starlabs LabTop (renamed to the Starbook thanks to a suggestion by yours truly but sadly, not quickly enough).

So, in summary, it’s bloody fast for something that results in a ~9MB bundle.

(And that’s all thanks to esbuild.)

https://codeberg.org/kitten/app

aral, (edited )
@aral@mastodon.ar.al avatar

Note that when you’re working with Kitten, your apps do not have a build process.

You write HTML, CSS, JavaScript and, optionally, extend using first-class support for htmx and alpine.js as well as Kitten’s own Streaming HTML workflow¹. There’s also no scaffolding or generating a project with hundreds of files or anything. You just write the code for your app.

¹ https://ar.al/2024/03/08/streaming-html/

antran22, to CSS French
@antran22@mastodon.social avatar

Can somebody really sell me Tailwindcss. This is the 3rd time I tried it and it still doesn't click for me.

#tailwind #frontend #css

khalidabuhakmeh, to blazor
@khalidabuhakmeh@mastodon.social avatar

I'm back to playing with #Blazor and #HTMX with the @egil Htmxor library. The Counter sample is nice and clear.

He has something exciting here for the #aspnetcore and #dotnet audience.

Check it out! https://github.com/egil/Htmxor

THe counter sample running in a browser with a current count of 12

aral,
@aral@mastodon.ar.al avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
scoonch, to photoshop French
@scoonch@mamot.fr avatar

Dev Web fullstack, je termine un long CDD en fin de semaine. Je suis donc libre à partir du 3 juin.

CDI distanciel de préférence sinon je m'adapte, je suis à Paris.

Compétences en +:
Maquettiste #Photoshop #Illustrator,
Monteur vidéo #Premiere, #Avid,
Habillage/Animation #AfterEffect

CV dispo en mp.

#HTML #CSS #PHP #JS #jQuery #Scss #Symfony #React #NextJs #ViteJs #Bootstrap #Tailwind #Stripe #dataTables #Wordpress #Prestashop #Sylius #MongoDb #Mariadb #aws #debian #Vi #bash #English

5t3ph, to CSS
@5t3ph@front-end.social avatar

Beware of dragons at the spicy edges of modern #CSS.

Familiarize yourself with "invalid at computed value time" and make use of support queries!

If using partially supported features, mix with caution and don't slip on browser testing or assume your browserslist-reliant tooling is sufficient.

teodorsandu, to Funny
@teodorsandu@mastodon.online avatar
christian, to 11ty
@christian@aldr.social avatar

I'm taking a bit more time with my #11ty starter kit upgrade.

Along with moving away from SASS/SCSS, I have decided to learn and lean into the CUBE CSS methodology once and for all 💪

I keep seeing it pop up from developers I admire and now would be a perfect time to give it a spin.

Not sure if I'll also delve into design tokens just yet 👀 but maybe.

https://cube.fyi/

#CSS #Frontend

christian,
@christian@aldr.social avatar

Also this: https://every-layout.dev/

Lots of learning to do 📖

khalidabuhakmeh, to CSS
@khalidabuhakmeh@mastodon.social avatar

I hard-coded in a style attribute, and I’m not even sorry about it.

iamdtms, to CSS
@iamdtms@mas.to avatar

cory, (edited ) to webdev
@cory@social.lol avatar

🔗: Old Dogs, new CSS Tricks via Max Böck #WebDev #CSS https://mxb.dev/blog/old-dogs-new-css-tricks/

dulvui, to CSS
@dulvui@mastodon.social avatar

If you ever wondered how to force clear the browser's cache of your css:
style_1.0.css
style_1.1.css
style_1.2.css
...

Simple but effective.

#css #webdev #cache

mobileatom, to CSS
@mobileatom@flipboard.com avatar

Old Dogs, new CSS Tricks. #CSS

https://mxb.dev/blog/old-dogs-new-css-tricks/?utm_source=flipboard&utm_medium=activitypub

Posted into Responsive Design, UX, UI, and more @responsive

davidbisset, to CSS
@davidbisset@phpc.social avatar

Why new features aren't getting fast adoption as one might think.

https://mxb.dev/blog/old-dogs-new-css-tricks/

"While there are many different reasons for the slow adoption, I think one of the biggest barriers are our own brains."

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is #programming.

Anyone knows something that checks these boxes?

css, to CSS
@css@front-end.social avatar

🎮 New CSS Game!

What about a CSS game that you can play with your keyboard? No, it's not a joke but a reality!

Play "Super CSS Mario", the first ever CSS-Only game playable using your keyboard. Have fun! 🤩

✅ 0% JavaScript
✅ 100% CSS Magic

Demo: https://codepen.io/t_afif/full/OJYbVWP via :codepen: @codepen

Record yourself and show me your best attempt (No screenshots & no cheating 😈)

It's a Chrome (or Edge) only. I repeat, it's a Chrome-only experience.

Showing a demo of the CSS-only game linked in the post. A cool Mario game where you can collect gold coins using Keyboard.

css,
@css@front-end.social avatar

Ready for "Super CSS Mario II"? This time it's more challenging because you have to avoid some enemies 😬

0% JavaScript, 100% CSS magic & 100% addictive!

Demo: https://codepen.io/t_afif/full/JjqEdJv via :codepen: @codepen

Show me your best attempt 👇

#CSS #HTML

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines