.myclass {
border:1px solid black;
background-color: #d2d2d2;
height:20px;
width:60px;
}
/*If you give this class to a div in html, it will get the styles you gave
to that class. You can add multiple classes to a div, and multiple divs
can get that class. */
/* I hope I helped! */
<style>
.myclass { /* CLASS CREATED */
background-color: transparent;
height:50px;
width:50px;
}
</style>
<body>
<div class="myclass"></div>
<body>
<p class="haut">
<a href="#haut">Haut de page</a>
</p>
Code Example |
---|
Css :: get element with href css |
Css :: CSS 2D transforms |
Css :: online animation maker css |
Css :: download css from website |
Css :: Night / dark mode css |
Css :: css table grid |
Css :: custom checkbox |
Css :: bootstrap dropdown in accordion problem |
Css :: how to give rgba in tailwind |
Css :: flex-grow css |
Css :: selector css |
Css :: animation |
Css :: fit image in grid css |
Css :: target element pseudo-classes |
Css :: css position |
Css :: save css file to different folder in scss |
Css :: media query not working with rem |
Css :: css button remove border |
Css :: no nobr substitute in html |
Css :: redesign html select |
Css :: css cotent tipe |
Css :: css how to make something stay on screen |
Css :: constraint in grails |
Css :: meaning of bbc |
Css :: woocommerce product_cat apply to custom post type |
Css :: andy css reset |
Css :: get diff to branch |
Css :: next day 2pm delivery countdown timer script |
Css :: vue center components in body |
Css :: css modal animation |