Hi,
.ym-fbox-heading {
font-size: 1em;
font-size: 100%;
}
>
> Warum wird hier font-size 2 definiert?
>
> Und hier Background?
>
> ~~~css
button:before {
> background: #ccc;
> background: rgba(0, 0, 0, 0.1);
> }
Weil Browser per Spezifikation Kombinationen aus CSS-Eigenschaft und Wert zu ignorieren haben, die sie nicht vestehen.
Wenn ein Browser mit font-size:100% nichts anfangen kann, dann bleibt er halt beim davor deklarierten 1em, und wenn ein Browser rgba-Farbangaben nicht versteht, dann halt bei der „normalen” hexadezimalen RGB-Farbangabe.
MfG ChrisB
--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/