Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
css-protips
⚡️ A collection of tips to help take your CSS skills pro 🦾
https://github.com/AllThingsSmitty/css-protips
Last synced: 3 days ago
JSON representation
-
Protips
-
Set `:focus` for Form Elements
-
Vertically-Center Anything
-
Use `aspect-ratio` Instead of Height/Width
-
Select Items Using Negative `nth-child`
-
Use SVG for Icons
- back to IE9 - jif-whatev files.
- back to IE9 - jif-whatev files.
- back to IE9 - jif-whatev files.
-
Use a CSS Reset
-
Inherit `box-sizing`
-
Use `:not()` to Apply/Unapply Borders on Navigation
-
Check if Font Is Installed Locally
-
Add `line-height` to `body`
-
Use the "Lobotomized Owl" Selector
-
Equal-Width Table Cells
-
Use Attribute Selectors with Empty Links
-
Control Specificity Better with `:is()`
-
Intrinsic Ratio Boxes
-
Style Broken Images
-
Use `:root` for Flexible Type
-
Inherit `font` on Form Elements for a Better Mobile Experience
-
Use Pointer Events to Control Mouse Events
-
Set `display: none` on Line Breaks Used as Spacing
-
Categories
Sub Categories
Use the "Lobotomized Owl" Selector
4
Use `aspect-ratio` Instead of Height/Width
3
Use SVG for Icons
3
Style Broken Images
2
Intrinsic Ratio Boxes
2
Vertically-Center Anything
2
Equal-Width Table Cells
2
Use `:root` for Flexible Type
2
Use Attribute Selectors with Empty Links
1
Use a CSS Reset
1
Set `display: none` on Line Breaks Used as Spacing
1
Add `line-height` to `body`
1
Inherit `box-sizing`
1
Control Specificity Better with `:is()`
1
Select Items Using Negative `nth-child`
1
Set `:focus` for Form Elements
1
Inherit `font` on Form Elements for a Better Mobile Experience
1
Use `:not()` to Apply/Unapply Borders on Navigation
1
Use Pointer Events to Control Mouse Events
1
Check if Font Is Installed Locally
1