
Ajudamos a comunidade a amar mais ainda #CSS. Aqui você encontra notícias sobre todo o ecosistema #frontend ligado a essa linda arte.
Rio de Janeiro, Brazil
Joined July 2017
- Tweets358
- Following62
- Followers179
- Likes134
Rio.css retweeted
Anchor positioning comes w/a new layout mechanism called inset-area, and its pretty neat!
So I'm building a little anchor tool to help you learn it and anchor things!
anchor-tool.com
*Browser support is still very limited, only works in Chrome Canary (125+) for now
Rio.css retweeted
I'm doing a research on CSS :has() and this is one of the best articles that I read. Learn about some advanced :has() use-cases, by @5t3ph.
smashingmagazine.com/2023/01…
Rio.css retweeted
Suuuper handy new CSS:
:user-invalid and :user-valid pseudo selectors let you style inputs only once they have been interacted with
Just landed in Chrome + Safari, been in Firefox for years.
Rio.css retweeted
💡 CSS Tip!
Do you want to have a radius inside the element but not outside? You can do it using only one property 🤩
Demo: codepen.io/t_afif/pen/XWxexj… via @CodePen
(I know it can be easily done with other methods but I wanted to share this one-property hacky trick)
#CSS
Rio.css retweeted
Closing out the year with a big new release, v5.3.0-alpha1! Get your hands on the pre-release with color modes, expanded color palette, new utilities, and more! blog.getbootstrap.com/2022/1…
Wishing everyone an amazing holiday break and a Happy New Year! Catch y’all in 2023 🎉🥂💜
Rio.css retweeted
I've loved & used data-* attributes liberally in all my projects. They enable better separation of concerns & often more readable markup.
So I agree with the benefits outlined in this post keithcirkel.co.uk/css-classe…, just not with its title.
Use what works for you.
#html #css
Rio.css retweeted
Here is a weird flexbox use-case that I spotted today.
Why use flexbox when `text-align: center` can do the same job with less CSS lines? 😁
Rio.css retweeted
IMPERDÍVEL! IMPERDÍVEL! IMPERDÍVEL!
🚀 FRONT IN FLORIPA 2022 🚀
O maior evento front-end de Santa Catarina chega na sua 8ª edição, sempre de "front" pro mar 😎
Ingressos LIMITADOS promocionais "Early Bird", aproveitem!
Todos os anos tivemos SOLD OUT ein 😅
➡️ frontin.floripa.br
Rio.css retweeted
Read more about how to use the CSS `:has()` pseudo-element with descendant combinators, child combinators (>), next-sibling combinators (+) and subsequent-sibling combinators (~) in the full article.
webkit.org/blog/13096/css-ha…
Rio.css retweeted
Ever needed to cross out some text on a site? You *could* use a span and then style it with `text-decoration: line-through`... or you could just use the <s> element 🙂
Rio.css retweeted
CSS solutions for layouts and components should be written as simply as possible, so that other team members (with basic CSS knowledge) can understand and modify it. Otherwise, the solution isn’t that good.
CSS variables and a few comments on the tricky parts can fix that.
Rio.css retweeted
New "5-minute CSS" video on how the CSS !important rule actually works!
(Ok it's 7 minute this week, but worth it I promise!)
Here's the gist:
!important isn't just about increasing style rule importance, it actually *inverts* the cascade
youtu.be/dS123IXPcJ0
Rio.css retweeted
The CSS `:has()` selector is way more than a “Parent Selector”.
🔗 bram.us/2021/12/21/the-css-h…
🏷 #css #selectors
Rio.css retweeted
💌 CSS Animation Weekly #277 weekly.cssanimation.rocks/ar…
Rio.css retweeted
✍️ New Article: Less Absolute Positioning With Modern CSS
I wrote about how modern CSS can help reduce the need for absolute positioning. Happy reading!
🔗 ishadeed.com/article/less-ab…
Rio.css retweeted
We’ll be bringing CSS variables to more components in each minor v5 release to make customization easier and even reduce file size in some cases. Consider this before and after for our button variant mixin—much simpler! 🤩
Rio.css retweeted
🥳 After announcing their intent to do so back in July, the @csswg has just published the First Public Working Draft of CSS Nesting Module!
🔗 w3.org/TR/2021/WD-css-nestin…
--
PS: I wrote about CSS Nesting earlier, on my blog @bramusblog. Go check it out: bram.us/2019/03/17/the-futur…
Rio.css retweeted
For changing unit types:
What should happen when you change the unit?
1) just the unit changes (current)
2) convert the length so it stays the same length but uses the new unit
[video alt]
opening, closing and choosing different unit types for a length
Rio.css retweeted
✍️ New Article: The State Of Mobile First and Desktop First
In this article, I explained what mobile-first and desktop-first mean, how we can use them, and whether such thinking is necessary with modern CSS? Happy reading!
🔗 ishadeed.com/article/the-sta…
Rio.css retweeted
Bootstrap v5.0.2 has finally arrived with our new custom `divide()` function to fix the Sass division warnings, ability for `.col-*` classes to override `.row-cols-*`, several CSS and JS bugfixes, and docs improvements. On to v5.1.0!
blog.getbootstrap.com/2021/0…





































