-1
I was trying to learn HTML, until my image didn’t respond with my CSS:
img#imagens1{
height: 19.92;
width: 19.92;
}
The image was responding until about five minutes ago:
<img src="IconTwiter.png"id="imagens1">
Someone knows how to fix this?
unit 19.92 missing what?
– user60252
I don’t understand what you mean
– 0000FFcar
a css measurement unit can be
19.92px
– user60252
All right, let me see if it works that way
– 0000FFcar
but I believe that for these numbers are other CSS units: in, px, pt, cm, in...
– user60252
the px deal made it work,
– 0000FFcar
Modern CSS units: rem, vh, vw, vmin, Vmax, ex, ch ...
– user60252
I’ve never heard of such measures,
– 0000FFcar
http://desenvolvimentoparaweb.com/css/unidades-css-rem-vh-vw-vmin-vmax-ex-ch/
– user60252
A tip don’t put
img#imagens1
since theid
reference only to a single element in the document.– ThiagoO
yeah, just #imagens1
– user60252
Okay, I’ll consider it :)
– 0000FFcar
will save 3 letters, lighter code hahaha
– user60252