+ 1

How to link external css with just one division or one section.

See like I'm using a framework which have some great card style. when I'm linking that css in my head with <link> tag it also affect other stuff on web page but I'm using that framework specially for that section where I have that card I don't want to affect rest other stuff in my website. so basically the question is how to link external stylesheet which apply for specific section division or class ?

23rd Oct 2018, 5:27 PM
Dharmesh Pandey
Dharmesh Pandey - avatar
1 Réponse
+ 1
So create a separate php file with HTML portion including head only and include style file. Next include this file in the new php file including body portion
24th Oct 2018, 5:50 AM
ABDUL MANAN
ABDUL MANAN - avatar