5t3ph,
@5t3ph@front-end.social avatar

What's always been "weird" to you about ? As in, how something works? Less intuitive aspects? Stuff that trips you up even though you "know" how it works?

This is not a gripe thread, I'm looking for constructive input, thanks!

andy_blum,
@andy_blum@drupal.community avatar

@5t3ph that :empty and :blank both exist but never seem to be the thing you want

chris22smith,
@chris22smith@mastodon.social avatar

@5t3ph I've thought of another. When styling <ul> or <ol> lists, I'm never sure whether the margin, padding and list-style defaults are on the parent list or the list item children.

tennoseremel,
@tennoseremel@lor.sh avatar

@5t3ph text-overflow: ellipsis not doing what one would expect it to. Which doesn't trips me up, but makes it pretty much useless either way.

chris22smith,
@chris22smith@mastodon.social avatar

@5t3ph I've always found collapsing margins a bit unpredictable. Also, the way a <hr> is styled always trips me up.

thudfactor,

@5t3ph The thing I have found most frustrating for 20+ years is that text sits in the middle of line-height instead of at the top.

jpzwarte,

@5t3ph I have a pretty good grasp of CSS, but will-change is still hard to understand/determine when you need it.

paulrosen,

@5t3ph Sometimes I am poking around devtools and I can't figure out where a margin, padding, or an element width is coming from - and I use devtools all the time. (Sorry, if I could be more specific it wouldn't be so weird.)

rowan_c,

@5t3ph mix-blend-mode and background-blend-mode is inscrutable magic as far as I can understand it. Other people do amazing things with them, but it never works when I try!

felixthehat,

@5t3ph nth child. I’ve been opening up this bookmark since 2011 https://css-tricks.com/useful-nth-child-recipies/

dutchcelt,
@dutchcelt@mastodon.social avatar

@5t3ph The way a background on the &lt;body&gt; can automatically propagate to the Root element. And the background on a Root element becomes the Canvas background. Because both the &lt;body&gt; and :root may not be the height of the viewport.
I get it, but it's still, after 25 years, a bit weird.

M_J_Robbins,

@5t3ph the way line-height inherits as fixed values when it's set with relative units always struck me as a bit odd.

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