Skip to content

Instantly share code, notes, and snippets.

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/d16b7eaeb0ac677928ac69f40bd2e1d7 to your computer and use it in GitHub Desktop.
Save techxdeveloper/d16b7eaeb0ac677928ac69f40bd2e1d7 to your computer and use it in GitHub Desktop.
CSS Universal Selector (Child Selector)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS Universal Selector (Child Selector)</title>
<style>
#wrapper * {
padding: 20px;
margin: 20px;
background-color: #00bdc4;
color: #fafafa;
}
</style>
</head>
<body>
<div id="wrapper">
<h1>CSS Universal Selector (Child 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