An Interest In:
Web News this Week
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
April 26, 2021 07:59 am GMT
Css resize docs: https://developer.mozilla.org/en-US/docs/Web/CSS/resize
Css text-indent docs: https://developer.mozilla.org/en-US/docs/Web/CSS/text-indent
Css :where() docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:where
Css only-child docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child
Original Link: https://dev.to/vanaf1979/some-small-css-tips-016-24f1
Some small Css tips 016
To continue on my previous post here are some more tweets with little Css tips that might help you in your projects.
Prevent textarea resize.
Small #css tip: You can prevent a textarea from being resized (Or limit it to one axis) by setting the css resize property. #100DaysOfCode #DEVCommunity
Check out the CodePen below13:54 PM - 25 Mar 2021
Css resize docs: https://developer.mozilla.org/en-US/docs/Web/CSS/resize
Text-indent.
Small #css tip: You can indent the first line of a paragraph by using the css text-indent property. #100DaysOfCode #DEVCommunity
Check out the CodePen below10:36 AM - 23 Apr 2021
Css text-indent docs: https://developer.mozilla.org/en-US/docs/Web/CSS/text-indent
:where.
Small #css tip; If you want to select multiple elements inside a parent element, you can use :where() to do exactly that. #100DaysOfCode #DEVCommunity
Check out the CodePen below10:38 AM - 24 Apr 2021
Css :where() docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:where
Only-child.
Small #css tip: If you need to select an element that is the only element inside of its parent you can use the css :only-child pseado-selector. #100DaysOfCode #DEVCommunity
Check out the CodePen below.11:13 AM - 25 Apr 2021
Css only-child docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child
Subscribe and Follow
Subscribe to my Youtube channel.
Thanks for reading/watching and stay safe
Original Link: https://dev.to/vanaf1979/some-small-css-tips-016-24f1
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To