Search notes:
CSS: width and height properties
No effect in inline elements
Assigning a value to the
CSS properties
width
or
height
for elements whose
display
values is
inline
(such as the
<span>
element) has
no effect
.
See also
min-content
and
max-content
Index