Here is my collection of html+css things I got stuck with working on my recent project https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="RĂŒckhand Zeigefinger nach unten" aria-label="Emoji: RĂŒckhand Zeigefinger nach unten">
Transforms are not applied to anything that is not a block type of display. It actually is not pretty obvious in specs. At least for me.

https://drafts.csswg.org/css-transforms-1/">https://drafts.csswg.org/css-trans...
Pseudo-elements "before" and "after" work with boxes only. Inputs are not boxes.

#before-after-content">https://www.w3.org/TR/CSS21/generate.html #before-after-content">https://www.w3.org/TR/CSS21/...
If it has no "href" and it& #39;s functional - make it button
Pagepiling-js plugin is not reacting to mousewheel scroll if scroll event is happening "above" content which is not handled by the plugin. Like, you have sections handled by the plugin and fixed footer 200px height. Nothing happens if you& #39;re "mousewheeleing" over the footer.
Off-top. Seaching some help on youtube, try not to be caught by these kitties https://abs.twimg.com/emoji/v2/... draggable="false" alt="đŸ±" title="Katzengesicht" aria-label="Emoji: Katzengesicht"> https://youtu.be/jrErPV57Oy0 ">https://youtu.be/jrErPV57O...
Animated gradient. Useful for hover over buttons

https://jsfiddle.net/59b32hgw/ ">https://jsfiddle.net/59b32hgw/...
Scaling an element changing its content "position".

Solution - transform-origin: 0 100%

Check out labels in this form which are scaled once input is focused

https://jsfiddle.net/whimz/gya4b8sx/latest/">https://jsfiddle.net/whimz/gya...
Stuck with goddam "pinterest" grid-layout. Tried different approaches, each of them requiers too many manipulations from scratch. But I& #39;m lazy. Finally picked up this one. Very handy. https://github.com/desandro/colcade">https://github.com/desandro/...
Suddenly found out that progressive enhancement is much more simplier to implement than graceful degradation. Both are goddam hell. But working with enhancement was really faster.

https://en.wikipedia.org/wiki/Progressive_enhancement">https://en.wikipedia.org/wiki/Prog...
Surprisingly. Never thought that it& #39;s impossible to remove an anonymous event handler. On top of that, never thought there& #39;s a possibility to override default window event handlers. Interesting comments here https://stackoverflow.com/questions/641857/javascript-window-resize-event">https://stackoverflow.com/questions...
You can follow @Alex05481058.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: