Skip to content

Instantly share code, notes, and snippets.

@techxdeveloper
Created October 1, 2017 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techxdeveloper/419fb04476359c87fe3d3517f6e45b85 to your computer and use it in GitHub Desktop.
Save techxdeveloper/419fb04476359c87fe3d3517f6e45b85 to your computer and use it in GitHub Desktop.
CSS ID Selector
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS ID Selector</title>
<style>
#container {
padding: 20px;
margin: 20px;
border: 1px solid #00bdc4;
}
</style>
</head>
<body>
<div id="container">
<h1>CSS ID 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