Simple HTML5 CSS3 JS Project

Developer
Size
6,557 Kb
Views
38,456

How do I make an simple html5 css3 js project?

What is a simple html5 css3 js project? How do you make a simple html5 css3 js project? This script and codes were developed by Andres on 26 August 2022, Friday.

Simple HTML5 CSS3 JS Project Previews

Simple HTML5 CSS3 JS Project - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple HTML5 CSS3 JS Project</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!DOCTYPE html>
<html lang="en" class="no-js">	<head>	<style type="text/css">	</style>	<script src="js/modernizr.custom.js"></script>	</head>	<body class="">	<div class="container">	<div class="breadcrumbs">	<ul class="social">	<li>Modelo Ambiente Energia</li>	</ul>	</div>	<header class="clearfix">	<span>Ambiente Energia</span>	<h1>Noticia Recente</h1>	<nav>	<a href="#" class="icon-arrow-left" data-info="Anterior da caceta">Anterior</a>	<a href="#" class="icon-drop" data-info="Veja a porra toda">Veja a porra toda</a>	</nav>	</header>	<!--End Header -->	<ul class="tl-menu">	<li><a href="#" class="icon-logo">Logo</a></li>	<li><a href="#" class="icon-tag" id="navItem1">Option 1</a></li>	<li><a href="#" class="icon-chart" id="navItem2">Option 2</a></li>	<li><a href="#" class="entypo-camera" id="navItem3">Option 3</a></li>	<li class="tl-current"> <a href="#" class="icon-download" id="navItem4">Active</a></li>	<li><a href="#" class="icon-flag" id="navItem5">Option 4</a></li>	<li><a href="#" class="icon-lamp" id="navItem6">Option 5</a></li>	<li><a href="#" class="icon-file" id="navItem7">Option 6</a></li>	</ul>	<div class="main">	<h2>Menu Principal</h2> <div class="tabs"> <input type="radio" name="tabs" id="styles" checked /> <label for="styles">Menu #1</label> <label for="">Menu #2</label> <label for="">Menu #3</label> <label for="">Menu #4</label> <label for="">Menu #5</label> <label for="">Menu #6</label> </div> <!--End Tabs --> <h3><p>Aqui vem um puuuta texto cheio de bla bla bla</p></h3> <p>Ex utamur aliquip mea, vel sumo legendos ea, illud legimus ad eam. Nec cibo assum postea ut, mei ex esse persecuti dissentias, in munere conceptam quo. Vis in essent cetero sanctus, diam rebum constituam nam id. Probo impetus ei vix, no nihil dignissim pro. Pro illum posse habemus te, has ei bonorum detraxit mediocrem, modo volumus in pro. Persius adversarium ut usu. Reque nihil albucius in cum, elitr efficiendi dissentiet te pri. Cibo homero vim et. Pro in eirmod pertinax, usu eu graeco discere appellantur. Suas vidit autem eam ut, ea mel sale forensibus. Dicta vulputate voluptaria te duo. Porro facete id est.Amet hendrerit te vis. His in harum ignota essent, dolore suavitate ius ex. Sea iriure incorrupte ea, pro legere fastidii no, sit meis ceteros albucius eu. Et vis omnis idque regione.</p> <div class="btn_container .btn"> <a href="#" class="btn blue">Button 1</a> </div> <!--End Btn Containter --> <div class="btn_container"> <a href="#" class="btn outline">Button 2</a> </div> <!--End Btn Containter -->	</div> <!--End Main -->
<!--Slider Nav 1--> <nav class="slider-menu slider-menu-vertical slider-menu-left" id="slider-menu-s1"> <h3>MENU</h3> <a href="#"><span class="icon-flag"></span>Item 1</a> <a href="#"><span class="icon-flag"></span>Item 2</a> <a href="#"><span class="icon-flag"></span>Item 3</a> <a href="#"><span class="icon-flag"></span>Item 4</a> <a href="#"><span class="icon-flag"></span>Item 5</a> <a href="#"><span class="icon-flag"></span>Item 6</a> <a href="#"><span class="icon-flag"></span>Item 7</a> </nav>	</div> <!--End Containter -->	<!-- Classie - class helper functions by @desandro https://github.com/desandro/classie -->	<!-- Add id=navItem# to nav and add a seperate function below to match the id. Each nav item must have a unique id navItem1#. -->	<script src="js/classie.js"></script>	<script>	var menuLeft = document.getElementById( 'slider-menu-s1' ),	showLeft = document.getElementById( 'showLeft' ),	body = document.body;	navItem1.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem1' );	};	navItem2.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem2' );	}; navItem3.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem3' );	}; navItem4.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem4' );	};	navItem5.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem5' );	}; navItem6.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem6' );	}; navItem7.onclick = function() {	classie.toggle( this, 'active' );	classie.toggle( menuLeft, 'slider-menu-open' );	disableOther( 'navItem7' );	};	function disableOther( button ) {	if( button !== 'showLeft' ) {	classie.toggle( showLeft, 'disabled' );	}	}	</script>	</body>
</html> <script src="js/index.js"></script>
</body>
</html>

Simple HTML5 CSS3 JS Project - Script Codes CSS Codes

@charset "utf-8";
@import url(http://weloveiconfonts.com/api/?family=entypo|fontawesome);
/* ---------- ENTYPO ---------- */
[class*="entypo-"]:before { font-family: 'entypo', sans-serif; font-weight: normal;	font-style: normal;
}
/* ---------- FONTAWESOME ---------- */
[class*="fontawesome-"]:before { font-family: 'FontAwesome', sans-serif;
}
body, html { font-size: 100%; padding: 0; margin: 0; text-rendering:optimizeLegibility; }
/* Reset */
*,
*:after,
*:before {	-webkit-box-sizing: border-box;	-moz-box-sizing: border-box;	box-sizing: border-box;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {	content: " ";	display: table;
}
.clearfix:after {	clear: both;
}
body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; color: #47a3da;
}
a {	color: #f0f0f0;	text-decoration: none;
}
a:hover {	color: #000;
}
.main,
.container > header {	width: 90%;	max-width: 70em;	margin: 0 auto;	padding: 0 4em 3.125em 6em;
}
.main {	color: #5f646e;	font-weight: 400;	line-height: 1.5;	text-align: justify;
}
.main p {	font-size: 140%;
}
.main h2 {	font-size: 400%;	font-weight: 700;	color: #1b1e24;
/*	border-bottom: 1px solid #bbcce0; */	text-align: left;
}
.main h3 {	font-size: 190%;	font-weight: 400; color: #5F646E;
/*	border-bottom: 1px solid #bbcce0; */	text-align: left;
}
.container > header {	padding: 2.875em 4em 1.875em 6em;
}
.container > header h1 {	font-size: 2.125em;	line-height: 1.3;	margin: 0;	float: left;	font-weight: 400;
}
.container > header span {	display: block;	font-weight: 700;	text-transform: uppercase;	letter-spacing: 0.5em;	padding: 0 0 0.6em 0.1em;
}
.container > header nav {	float: right;
}
.container > header nav a {	display: block;	float: left;	position: relative;	width: 2.5em;	height: 2.5em;	background: #fff;	border-radius: 50%;	color: transparent;	margin: 0 0.1em;	border: 4px solid #47a3da;	text-indent: -8000px;
}
.container > header nav a:after {	content: attr(data-info);	color: #47a3da;	position: absolute;	width: 600%;	top: 120%;	text-align: right;	right: 0;	opacity: 0;	pointer-events: none;
}
.container > header nav a:hover:after {	opacity: 1;
}
.container > header nav a:hover {	background: #47a3da;
}
.icon-drop:before,
.icon-arrow-left:before {	font-family: 'FontAwesome';	position: absolute;	top: 0;	width: 100%;	height: 100%;	speak: none;	font-style: normal;	font-weight: normal;	line-height: 2;	text-align: center;	color: #47a3da;	-webkit-font-smoothing: antialiased;	text-indent: 8000px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);	padding-left: 8px;
}
.container > header nav a:hover:before {	color: #fff;
}
.icon-drop:before {	content: "\f00a";
}
.icon-arrow-left:before {	content: "\f060";
}
.container > .breadcrumbs {
background: #b2b2b2;
border-bottom: 1px solid #bbcce0;
width: 100%;
height: 80px;
position: relative;
background-color: #ddf2ff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ddf2ff), to(#d1eeff));
background-image: -webkit-linear-gradient(top, #ddf2ff, #d1eeff);
background-image: -moz-linear-gradient(top, #ddf2ff, #d1eeff);
background-image: -o-linear-gradient(top, #ddf2ff, #d1eeff);
background-image: -ms-linear-gradient(top, #ddf2ff, #d1eeff);
background-image: linear-gradient(top, #ddf2ff, #d1eeff);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#ddf2ff', EndColorStr='#d1eeff');
}
.container > .breadcrumbs .social {
position: absolute;
top: 14px;
right: 120px;
color: #9098a7;
list-style: none;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: normal;
font-size: 1.125em;
text-shadow: 0 1px 0 rgba(0,0,0,0.01);
}
.container > .breadcrumbs .social span{ font-weight: 700;
}
/* ---------- MENU ---------- */
.tl-menu {	position: fixed;	overflow: hidden;	top: 0;	left: 0;	height: 100%;	list-style-type: none;	margin: 0;	padding: 0;	background: #1b1e24; z-index: 9999;
}
.tl-menu li a {	display: block;	text-indent: -500em;	height: 5em;	width: 5em;	line-height: 5em;	text-align: center;	color: #999;	position: relative;	border-bottom: 1px solid rgba(104,114,134,0.05);	-webkit-transition: background 0.1s ease-in-out;	-moz-transition: background 0.1s ease-in-out;	transition: background 0.1s ease-in-out;
}
.tl-menu li a:hover,
.tl-menu li:first-child a{
color: #FFF;
background-color: #47a3da;
text-shadow: 0 1px 1px rgba(57, 132, 177, 0.75);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.tl-menu li a:active {	background: #afdefa; color: #FFF;}
/* class for current item */
.tl-menu li.tl-current a {	background: #343a47;	color: #bbe6fe;
}
.tl-menu li a:before {	font-family: 'entypo', sans-serif;	speak: none;	font-style: normal;	font-weight: normal;	text-indent: 0em;	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;	font-size: 1.4em;	-webkit-font-smoothing: antialiased;
}
.tl-menu li a.icon-logo:before {	content: "\e714";	font-weight: 700;	font-size: 300%;
}
.icon-chart:before {	content: "\1f53e";
}
.icon-tag:before { font-family: 'entypo', sans-serif;	content: "\e70c";
}
.icon-download:before {	content: "\1f4e5";
}
.icon-flag:before {	content: "\2691";
}
.icon-file:before {	content: "\e731";
}
.icon-lamp:before {	content: "\1f4a1"
}
/* ---------- TABS ---------- */
.main > .tabs { height: 52px; background: #fff; border-bottom: 1px solid #bbcce0; border-top: 1px solid #bbcce0;
}
.main > .tabs input[name=tabs]{ position: relative; z-index: -9999; left: -9999px; top: -9999px;
}
input#styles:checked ~ label[for=styles] { background-color: #47A3DA; color: #fff; -webkit-transition: all .3s; -moz-transition: all .3s; -ms-transition: all .3s; -o-transition: all .3s; transition: all .3s;
}
input#styles:checked ~ label[for=typography] { color: #bbcce0;
}
input#typography:checked ~ label[for=typography] { background-color: #47A3DA; color: #fff; -webkit-transition: all .3s; -moz-transition: all .3s; -ms-transition: all .3s; -o-transition: all .3s; transition: all .3s;
}
input#typography:checked ~ label[for=styles] { color: #bbcce0;
}
.main > .tabs label span { margin-right: 10px;
}
.main > .tabs label { display: inline-block; padding: 14px 20px; border-right: 1px solid #bbcce0; cursor: pointer; outline: none; /* Text */ color: #5F646F; font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; -webkit-font-smoothing: subpixel-antialiased; -webkit-text-stroke: 1px transparent;
}
.main > .tabs label:first-of-type { margin: 0 -4px 0 -43px;
}
/* ---------- BUTTON ---------- */
.btn_container {	margin: 20px auto; display: inline-block;
}
.btn {
cursor: pointer;
display: inline-block;
width: 280px;
padding: 20px 64px;
margin-right: 10px;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
text-decoration: none;
text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
font-style: normal;
font-weight: 700;
font-size: 16px;
letter-spacing: .05px;
line-height: normal;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-webkit-font-smoothing: antialiased;
}
.btn.blue {
color: #FFF;
background-color: #47A3DA;
text-shadow: 0 1px 1px rgba(170, 26, 43, 0.75);
border: 1px solid #295e7e;
-webkit-box-shadow: 0 1px 0 rgba(23, 36, 45, 0.9);
-moz-box-shadow: 0 1px 0 rgba(23,36,45,0.9);
box-shadow: 0 3px 0 rgba(178, 76, 69, 0.9);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn.outline {
color: #47A3DA;
text-shadow: 0 1px 0 rgba(0,0,0,0.01);
border: 3px solid;
border-color: #47A3DA;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
/* ---------- BUTTON HOVER ---------- */
.btn.blue:hover {
background-color: #2E373F;
border: 1px solid #2E373F;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
.btn.outline:hover {
color: #2E373F;
background-color: rgba(0, 0, 0, 0.1);
border-color: #2E373F;
text-shadow: none;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
/* ---------- SLIDER MENU ---------- */
/* General styles for all menus */
.slider-menu {
position: fixed;
background-color: #2d2e3c;
background-image: -webkit-gradient(linear, left center, right center, from(#2d2e3c), to(#3c3d50));
background-image: -webkit-linear-gradient(left, #2d2e3c, #3c3d50);
background-image: -moz-linear-gradient(left, #2d2e3c, #3c3d50);
background-image: -o-linear-gradient(left, #2d2e3c, #3c3d50);
background-image: -ms-linear-gradient(left, #2d2e3c, #3c3d50);
background-image: linear-gradient(left, #2d2e3c, #3c3d50);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#2d2e3c', EndColorStr='#3c3d50');
}
.slider-menu h3 {	color: #FFF;	font-size: 1.9em;	padding: 22px;	margin: 0;	font-weight: 300; background-color: #1d85be;
background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#1d85be), to(#47a3da));
background-image: -webkit-linear-gradient(left, #1d85be, #47a3da);
background-image: -moz-linear-gradient(left, #1d85be, #47a3da);
background-image: -o-linear-gradient(left, #1d85be, #47a3da);
background-image: linear-gradient(left, #1d85be, #47a3da);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#1d85be', EndColorStr='#47a3da');
}
.slider-menu a {	display: block;	color: #999;	font-size: 1.1em;	font-weight: 300; height: 80px; text-transform: uppercase; letter-spacing: 1px;
}
.slider-menu a:hover {	background: #258ecd; color: #FFF; text-shadow: 0 1px 1px rgba(57, 132, 177, 0.75); -webkit-transition: all 0.3s ease;	-moz-transition: all 0.3s ease;	transition: all 0.3s ease;
}
.slider-menu a:active {	background: #afdefa; color: #FFF;
}
/* Orientation-dependent styles for the content of the menu */
.slider-menu-vertical {	width: 240px;	height: 100%;	top: 0;	z-index: 1000;
}
.slider-menu-vertical a {	border-bottom: 1px solid #30303f;	padding: 1.6em;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); vertical-align: middle;
}
/* Vertical menu that slides from the left or right */
.slider-menu-left {	left: -240px;
}
.slider-menu-left.slider-menu-open {	left: 80px;
}
.slider-menu span { margin-right: 10px;
}
/* Transitions */
.slider-menu {	-webkit-transition: all 0.3s ease;	-moz-transition: all 0.3s ease;	transition: all 0.3s ease;
}
/* media query (depends on total height of menu) */
@media screen and (max-height: 34.9375em) {
.tl-menu {	font-size: 70%;	}	.slider-menu-vertical {	font-size: 90%;	width: 190px;	}	.slider-menu-left,{	left: -190px;	}
}

Simple HTML5 CSS3 JS Project - Script Codes JS Codes

/*! * classie - class helper functions * from bonzo https://github.com/ded/bonzo * * classie.has( elem, 'my-class' ) -> true/false * classie.add( elem, 'my-new-class' ) * classie.remove( elem, 'my-unwanted-class' ) * classie.toggle( elem, 'my-class' ) */
/*jshint browser: true, strict: true, undef: true */
( function( window ) {
'use strict';
// class helper functions from bonzo https://github.com/ded/bonzo
function classReg( className ) { return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
}
// classList support for class management
// altho to be fair, the api sucks because it won't accept multiple classes at once
var hasClass, addClass, removeClass;
if ( 'classList' in document.documentElement ) { hasClass = function( elem, c ) { return elem.classList.contains( c ); }; addClass = function( elem, c ) { elem.classList.add( c ); }; removeClass = function( elem, c ) { elem.classList.remove( c ); };
}
else { hasClass = function( elem, c ) { return classReg( c ).test( elem.className ); }; addClass = function( elem, c ) { if ( !hasClass( elem, c ) ) { elem.className = elem.className + ' ' + c; } }; removeClass = function( elem, c ) { elem.className = elem.className.replace( classReg( c ), ' ' ); };
}
function toggleClass( elem, c ) { var fn = hasClass( elem, c ) ? removeClass : addClass; fn( elem, c );
}
window.classie = { // full names hasClass: hasClass, addClass: addClass, removeClass: removeClass, toggleClass: toggleClass, // short names has: hasClass, add: addClass, remove: removeClass, toggle: toggleClass
};
})( window );
Simple HTML5 CSS3 JS Project - Script Codes
Simple HTML5 CSS3 JS Project - Script Codes
Home Page Home
Developer Andres
Username Angelfire
Uploaded August 26, 2022
Rating 3
Size 6,557 Kb
Views 38,456
Do you need developer help for Simple HTML5 CSS3 JS Project?

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!

Andres (Angelfire) Script Codes
Create amazing sales emails with AI!

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!