[Fixed]-I get rid of class in CSS and my paragraph element wont work…WHY?

1👍

An external css file (Custom2.css) does not need <style> tags – just put straight CSS in it. The presence of those tags will break the next CSS rule. So if you have those tags in your CSS file, and you remove .font, then p won’t be read since it will now come after those tags.

The contents should be…

@import url('https://fonts.googleapis.com/css?family=Sansita');
.font {
  font-family: 'Sansita', sans-serif;
}
p {
  font-family: 'Sansita', sans-serif;
}

Leave a comment