Import CSS Files Inside CSS
3 posts
Page 1 of 1
I've noticed a lot of people seem to add in their css files like below.
Code: Select all
I'm not gonna lie I used to do that until I foundout about this little trick. (You'd add the following into style.css)
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/lightbox.css">
Code: Select all
So hopefully this becomes helpful for you guys, and saves you a whole lot of time @import url("css/lightbox.css");
Helpful but i knew that before xD since i make phpBB styles (phpBB already uses that 'trick')
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Not everybody knows it though, which is why I made the tutorial. I'm still pretty surprised I didn't post about this before.
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023