Last active
November 14, 2023 12:41
-
-
Save DamaMichaelYohanna/46108f6d2f88864bcc49308d82c9a432 to your computer and use it in GitHub Desktop.
CSS INTRODUCTION
This file contains 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
<html> | |
<head> | |
<title> Introduction to CSS </title> | |
<!-- Link for adding external CSS --> | |
<link rel="stylesheet" href="style.css"> | |
<!-- Internal/infile style --> | |
<style> | |
body{ | |
margin:0px; | |
padding:10px; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- Example of inline CSS --> | |
<h1 style="background:red;color:green;"> Introduction to CSS </h1> | |
<form> | |
<input type="text" placeholder="Enter Username"> | |
<br> | |
<br> | |
<input type="password" placeholder="Enter Password"> | |
<button> Login </button> | |
</form> | |
</body> | |
</html> |
This file contains 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
body{ text-align: center; | |
background-image:url(image.webp); | |
background-repeat: no-repeat; | |
} | |
h1 { color: rgb(5, 6, 104); | |
font-style: italic; | |
} | |
input { background-color: aquamarine;} | |
button{ background-color: aquamarine; | |
box-shadow:3px 5px rgb(8, 8, 8); | |
color: #51e8f0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello guys, this is our sample code. Here we have a copy of HTML and external CSS file. We shall be using it for demonstration purposes.