+ 2
How to make a css file
3 Answers
+ 2
First learn how to Code.
You need a text editor
Write code
And save it with extension
.css
+ 1
Make a `foo.css` file and write in it your code like bellows:
body {
background-color: lightblue;
}
----------------
Also you can put this code in your html file as:
<style>
body {
background-color: lightblue;
}
</style>
+ 1
Save it with an extension .css