Skip to content

Instantly share code, notes, and snippets.

@JosueMagnus12
Last active August 16, 2021 15:39
Show Gist options
  • Save JosueMagnus12/5258844b614fd4c89b923327099fddbd to your computer and use it in GitHub Desktop.
Save JosueMagnus12/5258844b614fd4c89b923327099fddbd to your computer and use it in GitHub Desktop.
Conflicts across styling methods
<!DOCTYPE html>
<html lang="en-us">
<head>
<link rel="stylesheet" href="./styles/styles.css">
<style>
.paragraph{
color: green;
font-size: 50px;
background-color: aqua;
}
</style>
</head>
<body>
<p class="paragraph" style="color: white; font-size: 100px; font-family: monospace">A cool paragraph</p>
</body>
</html>
p{
color: crimson;
font-size: 30px;
border: 1px solid black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment