Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
CSS
make div the size of the text inside
Joseph Hansen
Programming language:
CSS
2021-05-18 07:12:00
0
Q:
make div the size of the text inside
Belle-Sophie
Code:
CSS
2021-04-23 17:14:08
div { display: inline-block; }
4
Tags
size
text
make
div
Related
how to stick a text to a div in css
how to scale a bg image acc to size of div
css center text in div vertically
how do i make a div full width with css
vertical align text inside div
css center text in div
New to Communities?
Join the community