cm0002@lemmy.world to Programmer Humor@programming.dev · 17 days agoProgrammers then and nowimagemessage-square18linkfedilinkarrow-up16arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up16arrow-down1imageProgrammers then and nowcm0002@lemmy.world to Programmer Humor@programming.dev · 17 days agomessage-square18linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareRose@slrpnk.netlinkfedilinkarrow-up1·17 days agoIf using plain CSS, usually it’s enough to set width appropriately, and margin-left and margin-right to auto. If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul. (Seriously I just started a new project with TailwindCSS and I’m so confused. But not entirely desperate yet.)
minus-squareRicaz@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·17 days agoI’m doing a small hobby project (a ladder/ranking system for playing beer sports with my community), and I tried out Tailwind. I gave up and loaded Bootstrap instead, but I will probably end up just writing all the CSS myself. Seems so silly to have 15 CSS classes on a single DOM element…
If using plain CSS, usually it’s enough to set
width
appropriately, andmargin-left
andmargin-right
toauto
.If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul.
(Seriously I just started a new project with TailwindCSS and I’m so confused. But not entirely desperate yet.)
I’m doing a small hobby project (a ladder/ranking system for playing beer sports with my community), and I tried out Tailwind.
I gave up and loaded Bootstrap instead, but I will probably end up just writing all the CSS myself.
Seems so silly to have 15 CSS classes on a single DOM element…