The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › ‘font:12px/30px’ not working
[here is the demo](http://codepen.io/hudidit/full/eBxjr “here is my pen”) , what have I written wrong?
if you are using the “font” property you have to include a font-size and a font-family or else the browser falls back to default values.
font: 15px/30px ‘Verdana’;
for example. as an alternative to the line-height in pixels you can use
font: 15px/2 ‘Verdana’;
2 (line-height) is a multiplicator of the font-size.
Yep, he’s correct. http://codepen.io/chrisburton/pen/pCozL
Thank you guys! :) I think I need to pay more attention to syntax details.