DEV Community

Cover image for 22 Useful CSS Tips and Tricks Every Developer Should Know

22 Useful CSS Tips and Tricks Every Developer Should Know

Syed Mohsin Raza on February 26, 2023

🚨🚨 Note: All the tips, tricks shared in this article are part of GitHub repository css tips tricks A handmade collection of pro css tips tricks for...
Collapse
 
varshithvhegde profile image
Varshith V Hegde

Thanks, But you missed centering a div 😂😂

Collapse
 
devsyedmohsin profile image
Syed Mohsin Raza • Edited

Thanks for pointing out! Actually, I've already included five different ways to center a div in my GitHub repository css tips tricks

Collapse
 
varshithvhegde profile image
Varshith V Hegde

sure

Collapse
 
moibra profile image
Mohamed Ibrahim

I think that's need a whole article 😅

Collapse
 
varshithvhegde profile image
Varshith V Hegde

Yeah Probably🙃😂

Collapse
 
artydev profile image
artydev • Edited

Great thank you very much

Collapse
 
louiecodes profile image
L O U I S

Good tips, I've been practicing CSS a little lately, I'll have these in mind 👍

Collapse
 
devsyedmohsin profile image
Syed Mohsin Raza

Thanks, Louis! Please checkout the GitHub repository css tips tricks and consider giving it a star if you find it useful.

Collapse
 
louiecodes profile image
L O U I S

Nice, I'll check it out!

Collapse
 
tutrinh profile image
Tu Trinh

Very useful CSS tips. Thank you for this.

Collapse
 
huylong profile image
huylong

thank you for share

Collapse
 
captainmor profile image
Moruling James

Awesome post!

Collapse
 
estriplet profile image
Estriplet

Thanks for sharing. You make checking out the GitHub CSS tips tricks repository an interesting visit before the day is out.

Collapse
 
jamiebaker profile image
Jamie Baker

Great read! A few little gems I'd never heard of there

Collapse
 
mobashir10 profile image
Mo Bashir

great content thanks bro

Collapse
 
goldknow0928 profile image
goldknow0928 • Edited

Thanks for the useful information!!! Thank you❤

Collapse
 
kylepollock profile image
Kyle Pollock

Thanks for sharing!

Collapse
 
lotfijb profile image
Lotfi Jebali

How to center a div ?

Collapse
 
nhlanhla_moyo_bfd524ea5b2 profile image
Nhlanhla Moyo

Just read about 4 items, then I fell in love with Syed. I hit "Follow", because I felt this was exactly the concise, no beat about the bush kind of writing and content I would like to meet in the future!

Thanks a billion, Syed Mohsin Raza! :)

Collapse
 
abdulmalik_yahya profile image
Abdul Malik Yahya

Very useful

Collapse
 
joaomiguel22c profile image
joaomiguel22c

Obrigado, adorei

Collapse
 
iamdharmesh89 profile image
Dharmesh Barot

Great post! Thank you