Answers for "how to create a css file"

6

add css file in html

/*
Adding css file into html document
*/

<link rel="stylesheet" type="text/css" href="yourstylesheetname.css">  /* add this line into head tag of the file with change in file name. */

/*
I hope it will help you.
Namaste
*/
Posted by: Guest on May-10-2020
4

import css in another css file

@import "navigation.css"; /* Via string */

or

@import url("navigation.css"); /* Via url */
Posted by: Guest on July-28-2020
0

how to add a css file in html

@import "navigation.css"; /* Via string */

or

@import url("navigation.css"); /* Via url */
Posted by: Guest on July-28-2020

Code answers related to "how to create a css file"

Browse Popular Code Answers by Language