Skip to content

Instantly share code, notes, and snippets.

@techxdeveloper
Created October 1, 2017 11:26
Show Gist options
  • Save techxdeveloper/e50cba2bad32211323ee31fbc1feb248 to your computer and use it in GitHub Desktop.
Save techxdeveloper/e50cba2bad32211323ee31fbc1feb248 to your computer and use it in GitHub Desktop.
CSS Element Type Selector
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS Element Type Selector</title>
<style>
div {
padding: 20px;
margin: 20px;
background-color: #f5f5f5;
border-radius: 2px;
}
h1 {
color: #00bdc4;
border-bottom: 1px solid #bdbdbd;
padding-bottom: 20px;
}
p {
color: #757575;
}
</style>
</head>
<body>
<div>
<h1>CSS Element Type Selector</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos quos quaerat sunt eius numquam repellendus itaque labore voluptatum impedit, ipsum cumque eum iure necessitatibus distinctio est incidunt? Nam possimus, mollitia.</p>
<ul>
<li>Something</li>
<li>Something</li>
<li>Something</li>
<li>Something</li>
</ul>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment