Daily UI #003 | Landing Page
How do I make an daily ui #003 | landing page?
What is a daily ui #003 | landing page? How do you make a daily ui #003 | landing page? This script and codes were developed by Samuel Janes on 14 September 2022, Wednesday.
Daily UI #003 | Landing Page - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Daily UI #003 | Landing Page</title> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='nav'> <div class='logo'><a href="#">Spoofy<span>Music</span></a></div> <ul> <li><a href="#">Sign in</a></li> <li><a href="#" class='btn small btn-modal'>Sign Up</a></li> </ul>
</div>
<div class='section center--text full--height flex center--items vertiz-align' id="hero"> <div class='wrapper'> <div class='tagline'> <h1 class='big'>Spoofy</h1> <p>You can eeeeeeeeeeh... listen to music on this.</p> </div> <div class='buttons'> <a href="#" class='btn fill'>Learn More</a> <a href="#" class='btn btn-modal'>Start Listening <i class="fa fa-play-circle-o" aria-hidden="true"></i></a> </div> </div> <div class='bottom'></div>
</div>
<div class='section center--text' id="plans"> <div class='wrapper'> <div class="row"> <div class='col-1-3'> <div class='plan-card btn-modal'> <header> <h1 class='title'>Basic</h1> <p class='price'>free</p> </header> <div class='features'> <ul> <li>Ads</li> <li>100 songs a day</li> <li>1 Account</li> </ul> </div> </div> </div> <div class='col-1-3'> <div class='plan-card btn-modal'> <header> <h1 class='title'>Premium</h1> <p class='price'>$9.99/m</p> </header> <div class='features'> <ul> <li>No Ads</li> <li>Ulimited Songs</li> <li>1 Account</li> </ul> </div> </div> </div> <div class='col-1-3'> <div class='plan-card btn-modal'> <header> <h1 class='title'>Family</h1> <p class='price'>$15.99/m</p> </header> <div class='features'> <ul> <li>No Ads</li> <li>Ulimited Songs</li> <li>5 Accounts</li> </ul> </div> </div> </div> </div> </div>
</div>
<div class='modal'> <header>Sign Up</header> <div class='content'> <a href="#" class='facebook-btn'>Sign up with facebook <i class="fa fa-facebook-official" aria-hidden="true"></i></a> <form> <p>Or Create an Account:</p> <div class='field'> <label for="username">Username</label> <input type='text' id="username" /> </div> <div class='field'> <label for="email">Email Address</label> <input type='email' id="email" /> </div> <div class='field'> <label for="planselect">Choose a Plan</label> <select id="planselect"> <option val="" disabled>Choose a plan</option> <option val="free">Free</option> <option val="premium">Premium</option> <option val="family">Family</option> </select> </div> <div class='field'> <input type='submit' class='btn' value="Sign Up" /> </div> </form> </div>
</div>
<footer> <p>© INSERT NAME 2016. All Rights Reserved</p> <ul> <li class='header'>Link Section</li> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> </ul> <ul> <li class='header'>Link Section</li> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> </ul>
</footer> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Daily UI #003 | Landing Page - Script Codes CSS Codes
* { box-sizing: border-box; wekbit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: "Varela Round", sans-serif;
}
.row { display: flex; justify-content: center; flex-wrap: wrap;
}
.row .col-1-3 { width: 33.333%; padding: 20px;
}
@media (max-widtH: 960px) { .row .col-1-3 { width: 50%; }
}
@media (max-widtH: 640px) { .row .col-1-3 { width: 100%; }
}
.btn { display: inline-block; padding: 20px 40px; color: white; text-decoration: none; background: #E6D345; border-radius: 5px; transition: 0.15s ease-in-out; border: none; outline: 0;
}
.btn.small { padding: 15px 40px;
}
.btn i { margin-left: 10px;
}
.btn:hover { background: #dbc41d;
}
.wrapper { width: 100%; max-width: 960px; margin: 0 auto;
}
.nav { width: 100%; height: 70px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; background: rgba(0, 0, 0, 0.15); position: fixed; top: 0; z-index: 1000; color: white;
}
.nav .logo { font-weight: 700;
}
.nav .logo a { color: white; text-decoration: none;
}
.nav .logo:hover span { color: #F5E256;
}
.nav .logo span { transition: 0.15s ease-in-out;
}
.nav ul { pading: 0; list-style: none;
}
.nav ul li { display: inline-block; padding: 0 15px;
}
.nav ul li a { color: white; text-decoration: none; transition: 0.15s ease-in-out;
}
.nav ul li a:hover { color: #F5E256;
}
.nav ul li a.btn:hover { color: white;
}
.section { width: 100%; padding: 20px;
}
.section.full--height { min-heighT: 100vh;
}
.section.center--text { text-align: center;
}
.section.flex { display: flex;
}
.section.flex.center--items { justify-content: center;
}
.section.flex.vertiz-align { align-items: center;
}
.section#hero { padding: 80px 20px; background-image: url("https://images.unsplash.com/photo-1423034816855-245e5820ff8c"); background-size: cover; background-position: center; color: white; position: relative;
}
.section#hero .bottom { width: 40px; height: 40px; border-radius: 100%; background: rgba(255, 255, 255, 0.15); border: 2px solid white; position: absolute; bottom: 40px; transform: rotate(180deg); animation: bounce 1s linear infinite; box-shadow: 0px 0px 10px rgba(245, 226, 86, 0.75); cursor: pointer;
}
.section#hero .bottom:before, .section#hero .bottom:after { content: ""; width: 15px; height: 3px; background: white; display: block; position: absolute; top: 15px; transform: rotate(45deg); right: 6px;
}
.section#hero .bottom:after { transform: rotate(-45deg); left: 6px;
}
.section#hero .wrapper .tagline .big { font-size: 55px; margin-bottom: 0;
}
@media (max-width: 640px) { .section#hero .wrapper .tagline .big { font-size: 35px; }
}
.section#hero .wrapper .tagline p { font-weight: 700;
}
.section#hero .wrapper .buttons { display: flex; justify-content: center; flex-wrap: wrap;
}
.section#hero .wrapper .buttons .btn { margin: 10px 20px;
}
.section#plans { padding: 80px 20px;
}
.section#plans .plan-card { width: 100%; height: 100%; box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.35); transition: 0.15s ease-in-out;
}
.section#plans .plan-card:hover { transform: scale(0.95);
}
.section#plans .plan-card header { padding: 10px 40px; background: #E6D345; color: white;
}
.section#plans .plan-card header .price { color: rgba(255, 255, 255, 0.75); font-size: 25px; text-transform: uppercase;
}
.section#plans .plan-card .features { padding: 20px;
}
.section#plans .plan-card .features ul { text-align: left;
}
.section#plans .plan-card .features ul li { padding: 15px 0;
}
.overlay { position: fixed; top: 0; bottom: 0; right: 0; lefT: 0; background: rgba(0, 0, 0, 0.35); z-index: 1005; display: none;
}
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1010; width: 90%; max-width: 840px; max-height: 90vh; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: 0.15s ease-in-out;
}
.modal a.facebook-btn { padding: 20px 20px; widtH: 100%; display: flex; justify-content: space-between; align-items: center; color: white; text-decoration: none; background: #3B5998; border-radius: 5px; transition: 0.15s ease-in-out;
}
.modal a.facebook-btn i { font-size: 25px;
}
.modal a.facebook-btn:hover { background: #2d4373;
}
.modal.open { opacity: 1; pointer-events: inherit;
}
.modal header { padding: 20px 40px; color: white; background: #E6D345;
}
.modal .content { background: white; overflow-y: auto; padding: 20px 40px;
}
.modal .content form input[type='text'],
.modal .content form input[type='email'],
.modal .content form select { width: 100%; padding: 5px 10px; display: block; margin: 10px 0; outline: 0; transition: 0.15s ease-in-out;
}
footer { padding: 80px 40px; display: flex; justify-content: space-between; align-items: center; background: #333; color: white;
}
@media (max-width: 960px) { footer { justify-content: center; flex-direction: column; text-align: center; }
}
footer ul { padding: 0; list-style: none;
}
footer ul li.title { font-weight: 700;
}
footer ul li a { color: rgba(255, 255, 255, 0.5); text-decoration: none; transition: 0.15s ease-in-out;
}
footer ul li a:hover { color: white;
}
@keyframes bounce { 0% { transform: rotate(180deg) translate(0, 0px); } 50% { transform: rotate(180deg) translate(0, 10px); } 100% { transform: rotate(180deg) translate(0, 0px); }
}
Daily UI #003 | Landing Page - Script Codes JS Codes
$(document).on('click', '.btn-modal', function(e){ e.preventDefault(); var $this = $(e.target); $(".modal").addClass("open") $("body").append('<div class="overlay"></div>'); $(".overlay").fadeIn(150); $('.overlay').on('click', function(){ $(this).fadeOut(150, function(){ $(this).remove(); }); $(".modal").removeClass("open"); });
});
$(".bottom").on('click', function(){ $("html, body").animate({scrollTop: $("#plans").offset().top - 70}, 750)
});
$(".logo").on('click', function(e){ e.preventDefault(); $("html, body").animate({scrollTop: 0}, 750)
});
Developer | Samuel Janes |
Username | SamuelJanes |
Uploaded | September 14, 2022 |
Rating | 3 |
Size | 5,979 Kb |
Views | 24,288 |
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 |
Modest Mouse Night on the Sun in CSS | 3,042 Kb |
Navigation triangle | 2,759 Kb |
Cool Loader | 1,782 Kb |
CSS only tooltips | 3,273 Kb |
Responsive Carousel Slider with Jquery | 3,456 Kb |
Queens of the Stone Age Rated R Album Cover in CSS | 2,958 Kb |
Clipped Navigation | 2,966 Kb |
Multi-Step Sign Up Form | 4,177 Kb |
Navigation layout | 3,069 Kb |
Hamburger Menus | 2,520 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 |
Preloader | Rikki_Sixx | 2,815 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Vertically rotating text with CSS | Nopr | 2,141 Kb |
Popover Example | Seanboom | 2,429 Kb |
Simple star rating using js and data-uri | TheEnd | 5,795 Kb |
Degree Picker | Idered | 4,307 Kb |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Bootstrap example | Ssaakkaa | 2,716 Kb |
Cartoon Bomb | Tcmulder | 4,929 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!