Last active
August 29, 2015 14:14
-
-
Save Karlina-Bytes/ee545f1756f9ffd91522 to your computer and use it in GitHub Desktop.
An example of how to include CSS with a "class" selector (using a style section).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- myPage.html --> | |
<html> | |
<!-- Define style attributes in a style section. --> | |
<style> | |
.boxRounder { | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
background-color: #303030; | |
color: #ff9900; | |
padding: 1.0em; | |
} | |
</style> | |
<body> | |
<!-- Inject a style attribute with a class selector. --> | |
<div class="boxRounder"> | |
Hello World! | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment