I want to apply some font property to some text inside a span element with a class But in browsers the font properties are not applied. What to do?
I want to apply a font and some font property like size, weight to some text inside a span element which has a class named "2ndtype". But when i open it in chrome the font properties are not applied. What to do?
the html looks like this:
<body>
<div id="1stdiv">
<h1>GOBIKES</h1>
</div>
<div id="2nddiv"><img class="bikeimg" src="images/bikemain.jpg"></div>
<div><span class="2ndtype">AVAILABLE BIKES IN YOUR LOCATION</span></div>
</body>
and the CSS is:
.2ndtype {
font-family: Candara;
font-size: 27px;
font-weight: bold;
}
but in browsers i only get default html font and size applied to the text "AVAILABLE BIKES IN YOUR LOCATION".