Skip to main content

Search

Items tagged with: css


This piece from @heydon details his system for using the new features of #CSS to test HTML for proper semantics and structure. Just incredible what’s going on in some of these selectors.

#WebDev

https://heydonworks.com/article/testing-html-with-modern-css/


This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

https://stackoverflow.com/a/60286469

(Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

#web #dev #tip #CSS #resize #maxHeight


Well, the topic I disliked the most is your plan to compromise the online safety, security and privacy of all 450 million Europeans with the plans to scan their devices. In addition, you are not open and transparent enough about these plans, as most of those 450 million do not know you are working on this. You know it does not work and that is in violation with human rights, yet you keep pushing. Why? #CSAM #CSS #Encryption #Security #Privacy #GDPR


.@heydon shares how he uses recent advances in CSS to perform detailed HTML testing without JavaScript. The technique is useful for accessibility audits, and can be applied independently across stacks.

https://heydonworks.com/article/testing-html-with-modern-css/

Hat tip: @pablolarah #frontend #html #CSS #testing


Inspired by @robb, I made a game collection page β€” less visually appealing, but I had fun with the #CSS: https://chriskirknielsen.com/games/library/


πŸ“ Testing HTML With Modern CSS https://heydonworks.com/article/testing-html-with-modern-css/

(The last time I addressed this topic was circa 2016. It's amazing what you can write selectors for these days. Plus we have custom properties!)

#CSS #a11y

#css #a11y


Hey, all! On stream today we'll be making more updates to the Andromeda website, making use of Eleventy - check them out at @eleventy, and come hang out with us in chat!

https://www.twitch.tv/martine_dowden

#webdev #Eleventy #11ty #HTML #CSS #JavaScript


Light/dark mode simplified by the #CSS light-dark() function

https://pawelgrzybek.com/light-dark-mode-simplified-by-the-css-light-dark-function/ #frontend


This is so f***** up!! O_O

Be aware when you receive HTML emails (who doesn't?)!

https://gruene.social/@weddige/112190338668045392

#HTML #HTMLmail #CSS
#Phishing #SCAM
#SocialEngineering
#Thunderbird #Outlook
#KoboldLetters


7 years ago, I was learning about CSS specificity #css
#css


@adactio highlights an interesting gotcha of the new `hanging-punctuation` CSS property, in that it also applies to some form inputs.

https://adactio.com/journal/21027

#typography #css #webdev


Here's a little something: flicker effect!

(if you're a patron on Patreon, you may have seen I've gone down the rabbithole of text effects for the past few months)

No text/ letter duplication whatsoever. No wrapping individual letters in their own elements. Just a single contenteditable element + some SVG filter & CSS gradient & variable magic πŸͺ„βœ¨πŸŽ©πŸ‡

Idea from https://nitter.privacytools.io/Mandy_Kerr/status/1772850250950316258

*needs monospaced font to work

#CSS #SVG #filter #svgFilter #textEffect #code #coding #webDev #frontend


(Nitter addon enabled: Twitter links via https://nitter.privacytools.io)


#CSS by @chriscoyier
- Container Queries (Size & Styles)
- Container Units
- :has()
- View Transitions
- Nesting
- Scroll-Driven Animations
- Anchor Positioning
- Scoping
- Cascade Layers
- P3 Colors
- Color Mixing
- Margin Trim
- Text Wrapping
- Subgrid

https://frontendmasters.com/blog/what-you-need-to-know-about-modern-css-spring-2024-edition/

⇧