CSSence,
@CSSence@mas.to avatar

Basics: The flow-root display value.
https://cssence.com/2024/display-flow-root/

iamdtms,
@iamdtms@mas.to avatar

@CSSence I'm trying not to use floats in the age of flexbox & grid.

CSSence,
@CSSence@mas.to avatar

@iamdtms (As I wrote,) I rarely use floats these days.

Luckily, today floats are only needed for their original purpose, and no longer have to do the heavy layout lifting.

iamdtms,
@iamdtms@mas.to avatar

@CSSence True story. By the way for ::first-letter proper alignment, float still can not be bypassed.

CSSence,
@CSSence@mas.to avatar

@iamdtms Good point, I just checked, you‘re right. Browser support for initial-letter hasn’t improved since I wrote https://cssence.com/2023/drop-caps/

iamdtms,
@iamdtms@mas.to avatar

@CSSence Yes. It's a pseudo item can not be handled by CSS grid for example.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • CSS
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • khanakhh
  • magazineikmin
  • anitta
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • megavids
  • JUstTest
  • All magazines