Simple Layout
How do I make an simple layout?
What is a simple layout? How do you make a simple layout? This script and codes were developed by Joanne Whelan on 16 January 2023, Monday.
Simple Layout - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Layout</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <div class="logo"> <img src="https://chic-chester.co.uk/wp-content/uploads/2014/08/20140806_LogoSupporterPlaceholder.png" width="150px" height="150px" /> </div> <nav> <ul> <li><a href="#">Nav 1</a></li> <li><a href="#">Nav 2</a></li> <li><a href="#">Nav 3</a></li> </ul> </nav> <div class="banner"> <h1>BANNER</h1> </div> <div class="content-container"> <div id="article1"> <h2>Article 1</h2> </div> <div id="article2" > <h2>Article 2</h2> </div> <div id="product1"> <h2>Product 1</h2> </div> <div id="product2"> <h2>Product 2</h2> </div> </div> <footer> <p>Footer</p> </footer>
</div>
</body>
</html>
Simple Layout - Script Codes CSS Codes
*{ font-family: century gothic; text-align: center;
}
.wrapper { background-color: lavender; color: white; padding: 5px;
}
.logo {}
.nav { background-color: white;
}
nav ul { list-style-type: none; margin: 0; padding: 0;
}
nav ul li { float: left;
}
nav li a { display: block; width: 360px; text-decoration: none; color: orchid;
}
nav ul li a:hover{ background-color: palegreen; color: black;
}
.banner { background-color: lightblue;
}
#article1 { background-color: mediumslateblue; float: left; padding: 50px;
}
#article2{ background-color: mistyrose; float: left; padding: 50px;
}
#product1{ background-color: mediumvioletred; float: right; padding: 50px;
}
#product2{ background-color: plum; float: right; padding: 50px;
}
footer { background-color: paleturquoise; clear: both;
}
.content-container{ display: flex; justify-content: space-around;
}
Developer | Joanne Whelan |
Username | jooonebug |
Uploaded | January 16, 2023 |
Rating | 3 |
Size | 1,950 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
ID Selector | 2,443 Kb |
Pseudo Selectors | 1,391 Kb |
Wishlist | 2,690 Kb |
Border Effects | 1,998 Kb |
A Pen by Joanne Whelan | 2,089 Kb |
Background Images | 2,100 Kb |
Image link | 1,750 Kb |
Decendant Selector | 1,506 Kb |
JQuery Practice | 1,849 Kb |
Universal Selector | 1,384 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pure CSS Read More Arrow | Zephyr | 1,747 Kb |
Simple CSS loader. | Cabrera | 2,574 Kb |
Boxes | H3l1um | 2,563 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Ghost | Mghayour | 11,738 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Price table | Serluk | 5,928 Kb |
Border image | JohnRiordan | 2,120 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!