- 2
How to save html documents in a CSS file?
6 odpowiedzi
+ 6
You don't. HTML stays in an html document and CSS stays in a css document.
+ 3
Did you mean something like that:
https://code.sololearn.com/WZPoM6XO4b3G/#css
I doesn't know if it will work as standalone css file, but work in special context of code playground...
Anyway, I don't know if it's the expected behaviour, but it's the only way I see to embed html inside css ;P However, it can be a tip in few cases ^^
+ 3
<link rel="stylesheet"type="text/css"href="url_to_mystyle.css">
+ 2
@visph WTF? What for, man?😀😀😀
+ 1
Ahh... Why do you want to do this?😯
0
I meant using how do you use the <link> tag to make sure you see the output of the CSS document when you run it?