Skip to content

Instantly share code, notes, and snippets.

@steven-barkley
Created November 7, 2022 13:53
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 steven-barkley/fc8797c04ff68f8d9c36fd1876ca1cec to your computer and use it in GitHub Desktop.
Save steven-barkley/fc8797c04ff68f8d9c36fd1876ca1cec to your computer and use it in GitHub Desktop.
Practice | Profile CSS
<div class="profile-header rcorners2">
<h1>Custom profile header</h1>
</div>
<article>
<h2> Process 09/11/2022</h2>
<ol>
<li>Watched <a href="https://www.youtube.com/watch?v=W-TKiiJ_SjE">Video</a></li>
<li>Used inspect element; Scrolled to find "profile-header" class</li>
<li>Used CSS to selection background-color; Google searched yellow green hex code "#9acd32"</li>
<li>Added quick tutorial</li>
<li><strong> Completion time 30 minutes or less </strong></li>
</ol>
</article>
.profile-header {
background-color: #9acd32;
}
.rcorners2 {
border-radius: 25px;
border: 2px solid #73AD21;
padding: 20px;
width: 40%;
height: 150px;
}
body {
margin: 20;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment