Answers for "how to modify a class in css"

0

Put a class in css

<html>
	<head>
		<style>
			/* Make sure to use a full stop to instead only focus on the classname that is in your html page */
			.class {
  				background-color: #eeeeee;
			}
		</style>
	<head>
    <body>
		<div class="class">
          	<p>hi</p>
        </div>
    </body>
</html>
Posted by: Guest on March-27-2021
0

best way to write css class name

.stick_man__head {
Posted by: Guest on February-17-2021
0

syntax for manipulating a class in css

//element
element {
}
//class
.class {
}
//ID
#id {
}
//element and class
element .class {
}
//element with class and decendent
element.class decendent {
}
Posted by: Guest on December-05-2019

Code answers related to "how to modify a class in css"

Browse Popular Code Answers by Language