Answers for "how to make class for color"

0

html specific class color

<!-- in the head element -->
<style> h1 { color:blue; } </style>

<!-- in the body element -->
<h1> text in blue because all "h1" element is in blue </h1>
Posted by: Guest on June-19-2020
0

Text Color Classes

.text--primary {
	color: var(--primary);	
}
.text--secondary {
	color: var(--secondary);	
}
.text--accent {
	color: var(--accent);	
}
.text--base {
	color: var(--base);	
}
Posted by: Guest on August-19-2021

Code answers related to "how to make class for color"

Browse Popular Code Answers by Language