Are <span>
elements with position: absolute;
able to have a height, width, padding, etc. without changing it to display: block;
or inline-block;
?
It seems to work, but is it ok with all browsers to omit display: block/inline-block
for a <span>
element with position: absolute;
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…