phryk, to CSS
@phryk@mastodon.social avatar
  • { box-sizing: border-box; }

Probably my most prejudiced hack. Judge if you want, but this one line saves me from an insane amount of alignment issues and overly complicated calc()s.

peterreeves, to CSS
@peterreeves@mstdn.social avatar

I don't understand why CSS is so verbose sometimes. Why couldn't I just do:
color: --brand-red;
???
Why do I need to surround every use of it with var(...)? Wasn't the double-dash prefix was specifically chosen to not clash with any existing or future properties?

It's always so frustrating writing CSS. Especially compared to all the structure, abstractions, and terseness that programming languages offer.

davidbisset, to webdev
@davidbisset@phpc.social avatar

"In Praise Of The Basics"

https://www.smashingmagazine.com/2024/05/in-praise-of-the-basics/

"Long live the basics! Long live the “a-ha!” moments that help us all fall in love with the World Wide Web."

scoonch, to photoshop French
@scoonch@mamot.fr avatar

Dev Web fullstack, après un enchaînement de CDD, je suis libre à partir d'aujourd'hui.

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

Compétences en +:
Maquettiste ,
Monteur vidéo ,
Habillage/Animation
Régie/Vidging/Mapping:

CV en mp.



















ErikJonker, to microsoft
@ErikJonker@mastodon.social avatar

Already shared the original comments from this researcher some days ago but now mainstream media seems to have picked up that #Microsoft #Recall is a security disaster in the making.
https://www.theverge.com/2024/6/3/24170305/microsoft-windows-recall-ai-screenshots-security-privacy-issues
#cybersecurity

muzicofiel,

@ErikJonker @GossiTheDog don’t forget to mention the last proposal of of the client side scanning idea. It’s a disaster for your privacy and dangerous because you can be hit by false positives. Try then to prove your innocence. and note it’s not only images but also text. are already claiming they want that data too.

Richr, to webdev
@Richr@mastodon.social avatar

✏️ A modern approach to browser support - writing a new browser support policy @Clearleft

https://clagnut.com/blog/2431

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

After reading this, checked my existing styling as processed through autoprefixer, found the vendor prefixes that had been added, and manually added them to my styling — so it now doesn’t require any additional tools for cross-browser compatibility.

https://weser.io/blog/vendor-prefixes-in-2024

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

Using modern CSS features to create a custom range slider with a tooltip. There is no JS to update the values, it's pure CSS with minimal HTML 😎

Powered by Scroll Driven animation, Anchor positioning, @​property and more! 🤩

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

Online Version: https://css-tip.com/range-slider-tooltip/

It's Chrome only for the tooltip but the range slider works fine in all the browsers.

Showing two range slider with a tooltip containing the selected values. From the linked demo.

antaresphdev, to webdev Tagalog
@antaresphdev@mas.to avatar

Nagbibigay ang Web Platform Baseline ng malinaw na info tungkol sa mga bagong web platform features na puwede nang magamit sa mga production sites.

Tingnan ang details nito sa website ng Antares Programming: https://antaresph.dev/resources/baseline/

cory, to webdev
@cory@social.lol avatar

🔗: The Gap via Ahmad Shadeed https://ishadeed.com/article/the-gap/

cr0ybot, to CSS
@cr0ybot@mastodon.social avatar

We lost so much when dropping Sass for PostCSS.

CSS built-in nesting is awkward, static variables can be useful actually, and what's the point of dropping a consistent API with good DX if we're still transforming our stylesheets anyways?

Chaining together interoperable PostCSS modules to accomplish half of what Sass can do is nearly impossible.

davidbisset, to CSS
@davidbisset@phpc.social avatar
phryk, to CSS
@phryk@mastodon.social avatar

Why yes, I am getting my full moneys worth from the #CSS backdrop-filter feature.

I mean, I waited like 15 years for it, so I might as well go crazy. :thinkhappy:

phryk, to CSS
@phryk@mastodon.social avatar

I have a simple but mean #CSS problem.

I have an <img> of unknown height. I want to vertically center another element on top of it.

Is this even possible or do I have to enforce a known height on the <img>? 🤔

schalkneethling, to Podcast
@schalkneethling@hachyderm.io avatar

The latest episode of the Mechanical Ink podcast with @mia - Collaboration, the future of CSS, Sass, and the web - #podcast #css

video/mp4

Jbasoo, (edited ) to CSS
@Jbasoo@mastodon.social avatar

Does anyone know of a way to make the width of an element snap to a multiple of a base value? I'm trying to see if it's possible to get these items to align to the grid-paper like background. I figure round(up, max-content, var(--bg-grid-size)) is the logic I'd want but round() doesn't accept intrinsic sizes. Maybe there's a technique with min() or something? #CSS #WebDev

Jbasoo, to CSS
@Jbasoo@mastodon.social avatar

I was kinda hoping calc-size() could resolve intrinsic sizes inside math functions but it doesn't seem to (at least in Chrome Canary). Not sure if that's a bug or if Friday afternoon isn't the best time to try to understand draft specs 🤯

I don't think it would be a common use case, but it would be handy to be able to use it to solve things like this https://mastodon.social/@Jbasoo/110593686096922129

bramus, to random
@bramus@front-end.social avatar

⭐️ Scroll-Driven Animations with CSS (2024.05.30 @ WebExpo)

Slides of the talk “Scroll-Driven Animations with CSS” I gave at @webexpo today.

https://www.bram.us/2024/05/30/scroll-driven-animations-with-css-webexpo/

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/

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

A quick post addressing some questions about masonry and reading order https://rachelandrew.co.uk/archives/2024/05/26/masonry-and-reading-order/

iamdtms, to CSS
@iamdtms@mas.to avatar

New magic for animations in | Chase McCoy
https://chasem.co/2024/05/css-animations/

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

🛑 STOP Scrolling!

It's time to learn something new in CSS. You are one click away from getting a cool demo. What are you waiting for?

👉 https://random.css-tip.com 👈

#CSS #HTML

matthiasott, (edited ) to CSS
@matthiasott@mastodon.social avatar

My felon… I mean, my fellow web designers and front-end developers!

Do you use #CSS clamp() in production? 🤔

tommi, to CSS
@tommi@pan.rent avatar

Hey @piccalilli!

I found https://buildexcellentwebsit.es extremely insightful and inspiring! It pushed me to finally completely restructure my personal website’s #CSS, after many years of mess.

I used the awesome https://utopia.fyi to generate the vars, (actually, I am using the SCSS library).

Unfortunately, though, I find the massive use of all those calc() and clamp() functions to be quite heavy in terms of performance… #Lighthouse gave the website a very bad performance score (see screenshot). It even seems that while scrolling the page it lags (😳) even if it’s super simple and built with pure #HTML and CSS!

Do you have any ideas or suggestions? 🤔

Thank you so much for all the interesting things you share! ❤️🚀

(The current unstable development version of my website is at https://dev.tommi.space/, I am using the homepage as reference)

Cc: @j98 + @trys

#WebDesign #WebDev #browser #BuildExcellentWebsites #PersonalWebsite #CSSGrid #PageSpeed

youronlyone, to Philippines
@youronlyone@c.im avatar

Is there a color “Cable No.” conversion table or online tool available?

I've been checking sites and search engines but I cannot any. Maybe someone have a bookmark or something.

I need to convert the following:

  • Cable No. 80173
  • Cable No. 80108
  • Cable No. 80068

The confusing thing is that Wikipedia and various flag websites provide different RGB Hex codes:

  • 0038A8 vs 0032A0
  • CE1126 vs BF0D3E
  • FCD116 vs FED141

Which is more accurate, Wikipedia or the flag websites?

O_O


Legal code: https://thecorpusjuris.com/legislative/republic-acts/ra-no-8491.php

Wikipedia: https://en.wikipedia.org/wiki/Flag_of_the_Philippines

Sample flag website: https://www.flagcolorcodes.com/philippines


Tags:

@pilipinas @philippines @pinoy

  • 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