Skip to content

Instantly share code, notes, and snippets.

@Karlina-Bytes
Last active August 29, 2015 14:13
Show Gist options
  • Save Karlina-Bytes/dae16dac1500c78956e2 to your computer and use it in GitHub Desktop.
Save Karlina-Bytes/dae16dac1500c78956e2 to your computer and use it in GitHub Desktop.
An example of how to include CSS with a "class" selector (using a stylesheet).
<!-- myPage.html -->
<html>
<head>
<!-- Include style attributes from a separate CSS file. -->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<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