Difference between revisions of "Using CSS files"

From MyWiki
Jump to: navigation, search
Line 7: Line 7:
 
   text-align: center;
 
   text-align: center;
 
   font-color: GREEN;
 
   font-color: GREEN;
 +
  }
  
 
</source>
 
</source>

Revision as of 17:04, 19 March 2021

In the "hello" folder create a folder called "static" and within it create a folder called "hello"
In this "hello" folder create a file called "styles.css" with the following contents:

h1{
   font-family: sans-serif;
   font-size: 90px;
   text-align: center;
   font-color: GREEN;
   }