A Pen by Marcello Hutchinson-Trujillo on CodePen.
Created
July 8, 2025 14:34
-
-
Save anon987654321/9753cdc0f56fbb816fc2c579ad8ebbe7 to your computer and use it in GitHub Desktop.
Serif vs San Serif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>LOREM</h1><hr> | |
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin id velit eu enim lobortis bibendum ultrices eget nunc. Quisque pharetra cursus nisl, in consequat nibh euismod non. Mauris hendrerit semper venenatis. Donec fringilla metus vel nisl rhoncus, at placerat arcu faucibus. </p> | |
<h1 class="san">LOREM</h1><hr class="two"> | |
<p class="san"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin id velit eu enim lobortis bibendum ultrices eget nunc. Quisque pharetra cursus nisl, in consequat nibh euismod non. Mauris hendrerit semper venenatis. Donec fringilla metus vel nisl rhoncus, at placerat arcu faucibus. </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
text-align: center; | |
font-family: Didot; | |
font-size: 70px; | |
padding-top: 30px; | |
padding-bottom: 0px; | |
} | |
p{ | |
width: 50vw; | |
text-align: center;; | |
margin-left: auto; | |
margin-right: auto; | |
font-size: 30px; | |
color: black; | |
font-family: Didot; | |
font-style: italic; | |
} | |
.san{ | |
font-family: Futura | |
} | |
hr { | |
border: none; | |
height: 4px; | |
/* Set the hr color */ | |
color:black; /* old IE */ | |
background-color: black; /* Modern Browsers */ | |
width: 70px; | |
} | |
hr.two{ | |
border: none; | |
height: 8px; | |
/* Set the hr color */ | |
color:black; /* old IE */ | |
background-color: black; /* Modern Browsers */ | |
width: 70px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment