Test

Size
3,533 Kb
Views
80,960

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 Previews

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); }
});
Test - Script Codes
Test - Script Codes
Home Page Home
Developer Boost New Media
Username boostnewmedia
Uploaded June 12, 2022
Rating 3
Size 3,533 Kb
Views 80,960
Do you need developer help for Test?

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!

Boost New Media (boostnewmedia) Script Codes
Create amazing SEO content 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!