add css style sheet with javascript
<head>
<script>
function myFunction() {
var x = document.createElement("LINK");
x.setAttribute("rel", "stylesheet");
x.setAttribute("type", "text/css");
x.setAttribute("href", "styles.css");
document.head.appendChild(x);
}
myFunction()
</script>
</head>
Also in CSS:
- css shadow generator
- what is scss
- css push div down
- css keyframes
- css transform transition
- how to make text uppercase in css
- css comment tag
- bootsrap buttons
- css gradient border
- w3 link css
- linear-gradient
- image crop using css 1:1
- css feather border
- style sheet link
- chat bot with a floating button html and css
- vuetify background color
- css to hide scrollbar
- adding shadow to a div
- :: after css
- select box arrow hide css in ie
- on click css
- overflow dottet
- installer scss projet wordpress
- text underline hover css