how to define class in css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to define class in css

24th Aug 2016, 9:20 AM
An@nD
An@nD - avatar
2 Answers
0
defining a class in css... first the class should be recorgonizable in the html source code.. ie <p class = "summer"> Summer is near..</p> then you introduce it in the compatible css source code by : p.summer{ /*say*/ font-size :5px; }
25th Aug 2016, 4:55 AM
Fredrick Maina Gikuru
Fredrick Maina Gikuru - avatar
0
thanks......
25th Aug 2016, 5:04 AM
An@nD
An@nD - avatar