Week_3_session
How do I make an week_3_session?
What is a week_3_session? How do you make a week_3_session? This script and codes were developed by Angelina on 24 November 2022, Thursday.
Week_3_session - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>week_3_session</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html> <head> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> </head> <body> <div class="allholder"> <div class="navoverlay"> </div> <div class="nav"> <div id="logo-center" class "centered"> <img width=100% src="http://geeko.ioda.net/git/artwork/Marketing%20Materials/miscellaneous/rendered%20png%20pdf/openSUSE%20logo.png"> </div> <ul> <li> <a href="#">Home</a> </li> <li> <a href="#">Blog</a> </li> <li> <a href="#">Portfolio</a> </li> <li> <a href="#">Contact</a> </li> </ul> </div> <!-- end of NAV --> <div class="bodyholder"> <div class="status-bar"> </div> <div class="toolbar"> <div id="hamburger"> <i class="fa fa-bars"></i><!-- i = icon because we already import it from bootstrap before (link=http) --> </div> <!-- end of HAMBURGER --> <div class="tools"> <ul> <li> <i class="fa fa-search" id="search"></i> </li> <li> <i class="fa fa-ellipsis-v" id="settings"></i> </li> </ul> </div> <!-- end of TOOLS --> </div><!-- end of TOOLBAR --> <div class="content"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis deleniti sunt qui molestias pariatur fuga error nesciunt autem animi! Praesentium saepe tempore excepturi modi cum repellat dolorum sint ea laboriosam? </p> </div> <div> <!-- end of Bodyholder --> </div> <!-- end of ALLHolder --> </body>
</html> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Week_3_session - Script Codes CSS Codes
@import url ('https://fonts.googleapis.com/css?family=Roboto:500,700,500italic,700italic'); * {
margin: 0; box-sizing: border-box; }
html, body{ height: 100%; margin: 0; padding: 0;
}
.allholder { margin: 0px; width: 100%; height: 100%; position: relative; /* because position absolute should be inside of relative */
}
.navoverlay { background: rgba(0,0,0,.4); width: 100%; height: 100%; z-index: 55; border: solid red 1px; position: fixed; display:none; /* ne pokazivaet danniy fon dlya navoverlay */ top: 0px; left:0px;
}
.nav { width: 240px; height: 100%; background: #063; position:fixed; top: 0px; border:solid red 1px; left:0px; z-index:60; margin-left: -100%; /*by default -100% means it is not the screen */ transition: margin-left 0.3s;
}
.nav .centered { padding: 15px;
}
.nav li{ font-family: 'Roboto', sans-serif; font-weight: 500; text-transform: uppercase; list-style-type: none;
}
.status-bar { position:fixed; top: 0px; z-index: 50; width: 100%; display: block; height: 24px; background: #3373CB;
}
.toolbar { margin-top: 24px; position: fixed; top: 0px; width: 100%; height:48px; background: black; color: white; font-size: 1.7em; opacity:0.5;
}
.toolbar .tools { position: fixed; right: 20px;
}
.toolbar .tools ul li { display:inline; padding-left:2px;
}
.toolbar .tools ul { list-style-type: none;
}
.toolbar .tools ul li{ display: inline; padding-left: 2px; color:white;
}
.toolbar #hamburger{ float: left; /* this means that this div not going to be long till right side of page but being cut and not remove stuff from tight side on the same level ALLOW TO HAVE MULTICOLLUMN LAYOUT*/ visibility: visible;
}
.content { padding-top:200px; padding-left:10px; background-image: url("http://deejdesigns.com/wp-content/uploads/2013/05/blurry_background_vii-wallpaper-1920x1080.jpg")
}
@media all and (min-width: 1000px)
{ .nav{ margin-left: 0px; } .bodyholder{ position: relative; padding-left: 240px; } .toolbar #hamburger{ visibility: hidden; }
}
Week_3_session - Script Codes JS Codes
// we just saying to computer lets take some action - function
$(function(){ $('#hamburger').click(function(){ //we made margin-left = 0 $('.nav').css('margin-left','0'); $('.navoverlay').css('display', 'block'); $('.navoverlay').click(function(){ $('.navoverlay').css('display', 'none'); $('.nav').css('margin-left',"-100%"); }) }) })
Developer | Angelina |
Username | Angelina_Lapteva |
Uploaded | November 24, 2022 |
Rating | 3 |
Size | 3,267 Kb |
Views | 10,120 |
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 |
Instructions page | 2,260 Kb |
Menu_2 | 4,070 Kb |
Piechart | 2,108 Kb |
Tooltip | 2,244 Kb |
Responsive Login Page | 3,109 Kb |
Progress bar multiple | 2,179 Kb |
Icons and Grid | 2,097 Kb |
Week 2 Session | 2,307 Kb |
Beautiful PersonaL Page | 3,500 Kb |
Wireframing | 2,708 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 |
Automatic scroll | Skeurentjes | 4,042 Kb |
Snow collision | Wojtek1150 | 3,542 Kb |
A Pen by Alex Edwards | Exards | 8,218 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Break Out | AzazelN28 | 12,431 Kb |
Border-radius animation | Yukulele | 2,480 Kb |
Custom Select Element | Agrayson | 3,616 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Css or Czz.. | Judag | 4,111 Kb |
Kut D3 | Jellevrswk | 3,687 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!