css font italic shorthand not working? -
i trying make text italic font shorthand.
so far have this;
font: 36px italic normal georgia;
but not working. font definetely can italic if set font-style: italic;
works.
you having wrong short hand syntax there, should
p { font: italic normal 12px georgia; }
reference :
as see in above image, there mandatory syntax font
property declared , need maintain order make shorthand work, since using 36px
@ wrong place, breaking out entire property.
Comments
Post a Comment