Jonatan retweeted
Future CSS Tip! π
You can create auto-resizing text inputs with one line of CSS π€―
textarea {
form-sizing: content; π That's it!
}
The size of your input will grow to fit your content. If you want to constrain the size, do something like this:
textarea {
form-sizing: content;
min-height: 2lh;
max-height: 10lh;
}
This one's awesome. Think about how much effort it will save you π No more JavaScript to sync a textarea height to fit the content π₯
Perfect for chat interfaces, messaging, comments, etc. π’
@CodePen link below! π
Jonatan retweeted
Need :focus to inspect an element? β :focus doesn't work?
Try this:
cmd/ctrl + shift + p β "Emulate a focused page"
You can now examine elements that require somewhere focus on the page.
Jonatan retweeted
Fastest and easiest way to organize and bookmark any link - @guardo_io click.10words.io/click?appIdβ¦
Jonatan retweeted
We are finishing our Beta to launch the full version β¨
Come say hi and discover our new features ππΌ
guardo.io/
Jonatan retweeted
.@alexwestco is MF inspiring!
Stuff to live by here:
Jonatan retweeted
13/ Thanks for reading!
πΈ Will your audience find this useful? please RT.
πΈ Got your own additions? Post below.
πΈ Questions? Reply or DM me :)
Good luck π
Jonatan retweeted
And if you are using the playground, checkout the link-shortener plugin we built with @jonidelv ππ¨βπ»
Installation link: typescriptlang.org/play?instβ¦
github.com/gillchristian/tspβ¦
Jonatan retweeted
I released a new @PostCSS plugin to fix the 100vh bug in mobile Safari.
github.com/postcss/postcss-1β¦
Pure CSS. In contrast with previous hacks, it works in Chrome. It allows you to forget about the bug: just write min-height: 100vh, the plugin will insert the hack automatically.
Jonatan retweeted
The CSS :is() pseudo-class will be useful for writing repetitive selectors in a more compact form: https://teapawt.net/t.co/nXH4C15X9o ~ @simevidas covers it coming to browsers.
Jonatan retweeted
New version link shortener for @typescript Playground links that @jonidelv and I been building. Designed by @DvNahuel π
πͺ
tsplay.dev
Jonatan retweeted
π Aspect Ratio just landed in Chrome Canary! π
β‘οΈCheck it out by enabling the experimental web platform features flag in version 84.0.4145.0 or later
ππ½ Say your goodbyes to 56.25% and let me know if you find any bugs! π
Jonatan retweeted
A fun generator for CSS-only section separators! https://teapawt.net/t.co/jbStpMzly2

































