Main
How do I make an main?
What is a main? How do you make a main? This script and codes were developed by Dovydas on 16 October 2022, Sunday.
Main - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Main</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="site-wrapper"> <div class="site-wrapper-inner"> <div class="masthead clearfix"> <div class="inner"> <h3 class="masthead-brand">CSS Yellow belt</h3> <nav class="nav nav-masthead"> <a class="nav-link active" href="#">Home</a> <a class="nav-link" href="#">Contact</a> </nav> </div> </div> <div class="inner cover"> <div class="row"> <div class="col-md-6"> <h3 class="links-title">Links</h3> <ul> <li> <a href="https://codepen.io/tmxyz/pen/LZbOBj" target="_blank">Selector</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/XKNVWM" target="_blank">Colors</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/rLWpwz" target="_blank">Size1</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/aZBEQj" target="_blank">Size2</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/gMLoNa" target="_blank">Size3</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/NrdWeJ" target="_blank">Text</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/mERyRa?editors=1100" target="_blank">Background</a> </li> <li> <a href="https://codepen.io/tmxyz/pen/WxRwYd?editors=1100" target="_blank">Media queries</a> </li> <li> <a href="https://old.academyclass.co.uk/surveys/4486" target="_blank">Feedback</a> </li> </ul> </div> <div class="col-md-6"> <h3>Homework</h3> <ol> <li>Create a responsive about me page</li> <li>Should have a short bio</li> <li>Should have an image of you</li> <li>Should list your achievements in chronological order</li> </ol> <ol> <li>Create a responsive product page</li> <li>Should have a description</li> <li>Should have several images of the product</li> <li>Should have a pricing section</li> </ol> </div> </div> </div> <div class="mastfoot"> <div class="inner"> <p>Academy Class CSS Yellow belt</p> </div> </div> </div>
</div> <script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js'></script>
</body>
</html>
Main - Script Codes CSS Codes
/* * Globals */
/* Links */
a,
a:focus,
a:hover { color: #fff;
}
ul { list-style: none; margin-top: 1em; padding: 0;
}
ol { list-style-position: inside;
}
/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus { color: #333; text-shadow: none; /* Prevent inheritance from `body` */ background-color: #fff; border: .05rem solid #fff;
}
/* * Base structure */
html,
body { height: 100%; background-color: #333;
}
body { color: #fff; text-align: center; text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper { display: table; width: 100%; height: 100%; /* For at least Firefox */ min-height: 100%; -webkit-box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
}
.site-wrapper-inner { display: table-cell; vertical-align: top;
}
.cover-container { margin-right: auto; margin-left: auto;
}
/* Padding for spacing */
.inner { padding: 2rem;
}
/* * Header */
.masthead { margin-bottom: 2rem;
}
.masthead-brand { margin-bottom: 0;
}
.nav-masthead .nav-link { padding: .25rem 0; font-weight: bold; color: rgba(255, 255, 255, 0.5); background-color: transparent; border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus { border-bottom-color: rgba(255, 255, 255, 0.25);
}
.nav-masthead .nav-link + .nav-link { margin-left: 1rem;
}
.nav-masthead .active { color: #fff; border-bottom-color: #fff;
}
@media (min-width: 48em) { .masthead-brand { float: left; } .nav-masthead { float: right; }
}
/* * Cover */
.cover { padding: 0 1.5rem;
}
.cover .btn-lg { padding: .75rem 1.25rem; font-weight: bold;
}
/* * Footer */
.mastfoot { color: rgba(255, 255, 255, 0.5);
}
/* * Affix and center */
@media (min-width: 40em) { /* Pull out the header and footer */ .masthead { position: fixed; top: 0; } .mastfoot { position: fixed; bottom: 0; } /* Start the vertical centering */ .site-wrapper-inner { vertical-align: middle; } /* Handle the widths */ .masthead, .mastfoot, .cover-container { width: 100%; /* Must be percentage or pixels for horizontal alignment */ }
}
@media (min-width: 62em) { .masthead, .mastfoot, .cover-container { width: 100%; }
}
Developer | Dovydas |
Username | tmxyz |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 3,864 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 |
President Exercise | 2,661 Kb |
Bootstrap | 1,819 Kb |
Background | 1,593 Kb |
A Pen by Dovydas | 1,619 Kb |
APIs | 3,903 Kb |
Academy Class Demo | 2,024 Kb |
Firebase | 3,093 Kb |
Media Queries | 1,741 Kb |
Libraries | 3,809 Kb |
Homework | 1,689 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 |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Mesmerizing octopus | Jllodra | 3,549 Kb |
Css3 loader | Clknap | 2,391 Kb |
Price table | Serluk | 5,928 Kb |
Shopping cart | Andiio | 6,581 Kb |
Pure CSS Torch Light | Juliendargelos | 2,727 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Snow collision | Wojtek1150 | 3,542 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!