Rio.css (@riodejaneirocss) header
Rio.css (@riodejaneirocss) profile picture

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
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
7
94
8
524
44,117
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.
19
344
12
2,031
177,439
💡 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
11
1
73
10,072
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 🎉🥂💜
69
148
29
1,129
423,962
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
6
7
62
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? 😁
23
21
290
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
2
6
11
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…
1
6
20
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 🙂
4
9
1
81
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.
2
14
2
97
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
8
55
6
377
The CSS `:has()` selector is way more than a “Parent Selector”. 🔗 bram.us/2021/12/21/the-css-h… 🏷 #css #selectors
5
110
6
582
💌 CSS Animation Weekly #277 weekly.cssanimation.rocks/ar…
2
4
✍️ 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…
10
67
11
403
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! 🤩
2
23
4
160
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…
6
85
12
222
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
9
2
21
✍️ 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…
6
51
2
241
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…
6
48
2
211