Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>My WEB</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8">
- <link href="https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@700&display=swap" rel="stylesheet">
- <style type="text/css">
- * {
- margin: 0;
- padding: 0;
- }
- body {
- font-family: sans-serif;
- }
- nav {
- display: flex;
- justify-content: space-around; /*space-between*/
- background-color: purple;
- padding: 5px;
- height: 35px;
- align-items: center;
- }
- nav .web-title h3 {
- font-family: 'Grenze Gotisch', cursive;
- letter-spacing: 3px;
- color: white;
- }
- nav .web-menu ul {
- display: flex;
- /*padding: 5px;*/
- }
- nav .web-menu ul li {
- list-style: none;
- padding: 5px;
- }
- nav .web-menu ul li a {
- color: white;
- text-decoration: none;
- }
- nav .web-menu ul li button {
- background-color: blue;
- }
- nav .web-menu ul li button:hover {
- background-color: orange;
- }
- /* RESPONSIVE CONFIG */
- /* Mobile Phone */
- @media screen and (max-width: 800px) {
- nav .web-menu ul {
- display: none;
- }
- }
- /*MAIN TITLE WEB*/
- .container-carousel {
- display: grid;
- padding: 20px;
- grid-template-columns: 80% 20%;
- }
- .container-left-item {
- background-color: purple;
- padding: 20%;
- height: 100px;
- }
- .container-right-item {
- background-color: white;
- padding: 20%;
- height: 100px;
- }
- </style>
- </head>
- <body>
- <nav>
- <div class="web-title">
- <h3>Ignatius Global School</h3>
- </div>
- <div class="web-menu">
- <ul>
- <li><a href="#">Home</a></li>
- <li><a href="#">Our School</a></li>
- <li><a href="#">Events</a></li>
- <li><a href="#">Online Learning</a></li>
- <!--<li><button>Login</button></li>-->
- </ul>
- </div>
- </nav>
- <section>
- <div class="container-carousel">
- <div class="container-left-item">
- </div>
- <div class="container-right-item">
- </div>
- </div>
- </section>
- <footer>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment