Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Sammy Samkough</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <link rel="shortcut icon" type="image/png" href="favicon.png"/>
- </head>
- <body>
- <div class ="parent">
- <div class="center">
- <div class="name">Sammy Samkough</div>
- </div>
- <div class = "left">
- <div class="about">About</div>
- <div class="social">Social</div>
- </div>
- <div class = "right">
- <div class="contact">Contact</div>
- <div class="blog">Blog</div>
- </div>
- </div>
- <script src="js/scripts.js">
- </script>
- </body>
- </html>
- -------------------------------------------------------------------------------------------------------------------------------
- *
- {
- margin: 0;
- padding: 0;
- }
- html
- {
- background: #808080;
- background-image: url("background1.jpg");
- background-repeat: no-repeat;
- }
- body
- {
- }
- div
- {
- background: transparent;
- background-color: transparent;
- font-family: Consolas;
- font-weight: bold;
- }
- .parent
- {
- width: auto;
- height: auto;
- }
- .left
- {
- }
- .center
- {
- text-align: center;
- }
- .right
- {
- }
- .name
- {
- text-align: center;
- float: center;
- }
- .about
- {
- float: left;
- /* t r b l*/
- margin: -1% 1% 1% 1%;
- }
- .contact
- {
- float: right;
- }
- .social
- {
- float: left;
- }
- .blog
- {
- float: right;
- }
- /*
- CSS Properties List
- http://www.pageresource.com/dhtml/cssprops.htm
- RGB Colors
- http://www.rapidtables.com/web/color/RGB_Color.htm
- Fonts
- http://www.cssfontstack.com/
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement