Test
How do I make an test?
What is a test? How do you make a test? This script and codes were developed by Boost New Media on 12 June 2022, Sunday.
Test - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>test</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { margin: 0; padding: 0; width: 100%; text-align: center;
}
header { background: #B72039; margin-top: 120px; height: 120px; line-height: 120px; color: white; box-shadow: 0 -3px 5px 0px rgba(0, 0, 0, 0.25); margin-bottom: 0;
}
.message { line-height: 120px; position: fixed; top: 0; left: 0; background: #333; z-index: -1; color: white; height: 120px; width: 100%;
}
main { height: 2000px; padding: 20px; background: white;
}
.main-nav-scrolled { position: fixed; top: 0; width: 100%; margin-top: 0; box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.65);
}
.main-nav-scrolled + main { padding-top: 260px;
}
/*================================= */
/*================================= */
* { margin: 0; box-sizing: border-box; margin-bottom: 1em; font-smoothing: antialiased;
}
html, body { height: 100%; font-size: 1.35rem; line-height: 1.5; margin: 0;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class='message'> Sticky Message - Scroll down.
</div>
<header class='main-nav'> Header is here
</header>
<main> <p> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. </p> <p> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. </p>
</main> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Test - Script Codes CSS Codes
body { margin: 0; padding: 0; width: 100%; text-align: center;
}
header { background: #B72039; margin-top: 120px; height: 120px; line-height: 120px; color: white; box-shadow: 0 -3px 5px 0px rgba(0, 0, 0, 0.25); margin-bottom: 0;
}
.message { line-height: 120px; position: fixed; top: 0; left: 0; background: #333; z-index: -1; color: white; height: 120px; width: 100%;
}
main { height: 2000px; padding: 20px; background: white;
}
.main-nav-scrolled { position: fixed; top: 0; width: 100%; margin-top: 0; box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.65);
}
.main-nav-scrolled + main { padding-top: 260px;
}
/*================================= */
/*================================= */
* { margin: 0; box-sizing: border-box; margin-bottom: 1em; font-smoothing: antialiased;
}
html, body { height: 100%; font-size: 1.35rem; line-height: 1.5; margin: 0;
}
Test - Script Codes JS Codes
var mn = $(".main-nav"); mns = "main-nav-scrolled";
$(window).scroll(function() { if( $(this).scrollTop() > 120 ) { mn.addClass(mns); } else { mn.removeClass(mns); }
});
Developer | Boost New Media |
Username | boostnewmedia |
Uploaded | June 12, 2022 |
Rating | 3 |
Size | 3,533 Kb |
Views | 80,960 |
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 |
CSS CALC | 2,611 Kb |
Flexbox Sticky Footer | 3,404 Kb |
Basic - Flex with float fallback. | 4,242 Kb |
Boost SVG Logo | 4,966 Kb |
Complex SVG Path Question | 3,049 Kb |
Sticky Footer | 1,922 Kb |
A Pen by Boost New Media | 5,594 Kb |
Calc using CSS | 2,306 Kb |
IE11 Test | 4,998 Kb |
Image toggle using flex | 9,472 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 |
3D flipping card | Ssaakkaa | 2,238 Kb |
Pruebas de d3.js | Juanmanuelcarnerero | 2,485 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
Angular Route | Arun_v606 | 1,837 Kb |
Speech bubbles | Something | 1,547 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Animated css matrix type | NielsOeltjen | 3,484 Kb |
Gulpfile | Aimhigherwebdesign-amy | 1,765 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!