Skip to content

Instantly share code, notes, and snippets.

@potikanond
Last active January 14, 2020 06:50
Show Gist options
  • Save potikanond/133c1d8cabb6c81346baf45af51e3e2c to your computer and use it in GitHub Desktop.
Save potikanond/133c1d8cabb6c81346baf45af51e3e2c to your computer and use it in GitHub Desktop.
Web1 - Simple Firefox Page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<h1>Mozilla is Cool!</h1>
<img src="images/firefox-icon.png" alt="My test image">
<p id="subtitle">At Mozilla, we’re a global community of</p>
<ul>
<li>technologists</li>
<li>thinkers</li>
<li>builders</li>
</ul>
<p>working together to keep the Internet alive and accessible, so people worldwide can be informed contributors and creators of the Web. We believe this act of human collaboration across an open platform is essential to individual growth and our collective future.</p>
<p>Read the <a href="https://www.mozilla.org/en-US/about/manifesto/"> Mozilla Manifesto </a> learn even more about the values and principles that guide the pursuit of our mission.</p>
<button>Change user</button>
</body>
</html>
html {
font-size: 10px;
font-family: 'Open Sans', sans-serif;
}
h1 {
font-size: 60px;
text-align: center;
}
p, li {
font-size: 16px;
line-height: 2;
letter-spacing: 1px;
}
html {
background-color: #00539F;
}
body {
width: 600px;
margin: 0 auto;
background-color: #FF9500;
padding: 0 20px 20px 20px;
border: 5px solid black;
}
h1 {
margin: 0;
padding: 20px 0;
color: #00539F;
text-shadow: 3px 3px 1px black;
}
img {
display: block;
margin: 0 auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment