Tech | Code | Software dev Frontend: HTML, CSS, JS, React Backend: Python, SQL

Joined February 2023
Leta retweeted
6 pseudo-elements worth adding to your CSS toolbox: ➡️::before ➡️::after ➡️::first-line ➡️::first-letter ➡️::marker ➡️::selection You don't need to memorize them. Just know when they're useful. youtu.be/hP6hoCVOWbs #CSS #WebDevelopment #LearnToCode
1
1
94
Leta retweeted
Normally: Select text ➡️ browser's default colors. With ::selection: Select text ➡️ your custom colors. Another small way CSS can improve the experience. youtu.be/hP6hoCVOWbs #CSS #Frontend #CSS3
1
1
2
74
The world 🌍 🌎 would have been far better if the mankind species could act like elephants 🐘 do… 😂😂😂
1
1
27
Leta retweeted
A tiny CSS detail many developers overlook: ::selection It lets you customize how text looks when the user selects it. Small detail. Better design consistency. youtu.be/hP6hoCVOWbs #CSS #UX #WebDesign
1
1
3
146
Leta retweeted
Your list bullets don't have to be boring. With ::marker, you can customize them: li::marker { content: "🎨"; } CSS gives you more control than you might expect. youtu.be/hP6hoCVOWbs #CSS #WebDev #Frontend
1
3
123
Dark mode, activated
21
34
1
328
20,804
Leta retweeted
💜✨💜 CSS Pseudo Element after for beginners 👉 Learn more CSS Pseudo Elements: youtu.be/hP6hoCVOWbs #learncss #cssbasics #csstutorial #hrmlforbeginners #learntocode #webdevelopment
1
1
38
CSS variables, algo básico para los diseñadores de frontend. #css #softim #HOWEAWARDS2026
1
2
34
¿Sabías que en #CSS vanilla puedes hacer "bucles" en los que incrementas valores sin necesidad de usar #Javascript?
9
116
4
631
This toggle switch has legs. @CodePen #CSS #React
7
2
1
46
1,317
Leta retweeted
Try: p::first-letter { font-size: 30px; } One tiny pseudo-element can completely change the look of your typography. youtu.be/hP6hoCVOWbs #CSS #Typography #WebDesign
1
1
83
Dachshund Password Strength by @raminnasibov
3
2
23
2,706
design tip 🌲 - size icons with 𝟷𝚌𝚊𝚙, not 𝚙𝚡. 𝟷𝚌𝚊𝚙 is the height of a capital letter in the current font, so the icon tracks the text at any size: .𝚕𝚊𝚋𝚎𝚕 { 𝚍𝚒𝚜𝚙𝚕𝚊𝚢: 𝚏𝚕𝚎𝚡; 𝚊𝚕𝚒𝚐𝚗-𝚒𝚝𝚎𝚖𝚜: 𝚋𝚊𝚜𝚎𝚕𝚒𝚗𝚎; } .𝚕𝚊𝚋𝚎𝚕 𝚜𝚟𝚐 { 𝚋𝚕𝚘𝚌𝚔-𝚜𝚒𝚣𝚎: 𝟷𝚌𝚊𝚙; } 𝚋𝚊𝚜𝚎𝚕𝚒𝚗𝚎 sits the icon on the text's baseline, so it spans the caps in any font. the width follows the 𝚟𝚒𝚎𝚠𝙱𝚘𝚡.
16
82
6
1,363
49,160
Leta retweeted
Resize your browser. The words on the first line can change. ::first-line still targets the correct line automatically. That's a neat CSS trick beginners should know. youtu.be/hP6hoCVOWbs #CSS #LearnCSS #WebDev
2
2
6
127
Leta retweeted
CSS variables have been quietly zeroing out styles. 😬 `revert-rule` is Baseline, newly available since September 2026 (Chrome 148, Firefox 150, Safari 27). Before this, `padding: var(--pad)` with no --pad set gave you padding: 0, so you copy-pasted the default into every fallback. Now ⤵️ fall back to whatever the cascade had.
3
10
1
97
6,137
404 but aquarium 🌊
62
58
16
1,108
39,729
Leta retweeted
Did you know CSS can automatically target the first line of a paragraph? p::first-line { color: red; } The browser determines where the first line ends. youtu.be/hP6hoCVOWbs #CSS #WebDevelopment #Frontend
1
2
40
css tip 🚫 𝚖𝚊𝚛𝚐𝚒𝚗-𝚝𝚛𝚒𝚖: 𝚋𝚕𝚘𝚌𝚔 stops a card's first and last child from adding their margins to its padding. .𝚌𝚊𝚛𝚍 { 𝚙𝚊𝚍𝚍𝚒𝚗𝚐: 𝟸𝟺𝚙𝚡; 𝚖𝚊𝚛𝚐𝚒𝚗-𝚝𝚛𝚒𝚖: 𝚋𝚕𝚘𝚌𝚔; } the space inside the card is the 24px you wrote, not 24px plus the heading's margin.
2
13
166
4,086
Leta retweeted
📸 a CSS function i barely see being used: .𝚑𝚎𝚛𝚘 { 𝚋𝚊𝚌𝚔𝚐𝚛𝚘𝚞𝚗𝚍-𝚒𝚖𝚊𝚐𝚎: 𝚒𝚖𝚊𝚐𝚎-𝚜𝚎𝚝( 𝚞𝚛𝚕("𝚑𝚎𝚛𝚘.𝚠𝚎𝚋𝚙") 𝟷𝚡, 𝚞𝚛𝚕("𝚑𝚎𝚛𝚘@𝟸𝚡.𝚠𝚎𝚋𝚙") 𝟸𝚡 ); } 𝚒𝚖𝚊𝚐𝚎-𝚜𝚎𝚝() lets the browser pick the right image based on the screen's pixel density. same idea as srcset, but for CSS background images.
2
15
1
145
4,869