HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Scrollable Main Menu</title>
<link rel="stylesheet" href="./topmenu.css">
<script src="topmenu.js"></script>
</head>
<body onload="blinkingfrontdesk();">
<div class='topcontainer' id='topcontainer'>
<div class="topmenu" id='topmenu' style="display: grid;">
<div onclick="location.href=''"><a href=''>Dashboard</a></div>
<div onclick='showmenuscreen(this.id);' id="primary">Primary</div>
<div onclick='showmenuscreen(this.id);' id="frontdesk">Front Desk</div>
<div onclick='showmenuscreen(this.id);' id="main">Main</div>
<div><a href=''>Logout</a></div>
</div>
</div>
<div class="topmenubtnup" id="topmenubtn" onclick='topmenubtn();'><span class="menubtnarrow">››</span></div>
<div class='menuscreen' id='menuscreen'>
<div class='closemenu' id='closemenu' onclick='hidemenuscreen();'>X</div>
<div class="scrollcontent" id="primarymenu">
<div class="gridhdr">Primary</div>
<div class="grid">
<div onclick="location.href=''"><a href=''>Primary 1</a></div>
<div>Primary 2</div>
<div><a href=''>Primary Web Development</a></div>
<div>Primary 4</div>
<div>Primary 5</div>
<div>Primary 6</div>
<div>Primary 7</div>
<div>Primary 8</div>
<div onclick="location.href=''"><a href=''>Primary Development</a></div>
</div>
<br />
</div>
<div class="scrollcontent" id="frontdeskmenu">
<div class="gridhdr">Front Desk</div>
<div class="grid">
<div onclick="location.href=''" style="background-color:#C00000;border: solid 1px #C00000;border-radius: 10px;">Messages</div>
<div>Logs</div>
<div><a href=''>Site Settings</a></div>
<div>FD 4</div>
<div>FD 5</div>
<div>FD 6</div>
<div>FD 7</div>
<div>FD 8</div>
</div>
<br />
</div>
<div class="scrollcontent" id="mainmenu">
<div class="gridhdr">Tasks</div>
<div class="grid">
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div><a href=''>Custom Software</a></div>
<div><a href=''>AWS Cloud Systems Design</a></div>
<div><a href=''>Startup Development and Design</a></div>
<div>Item 7</div>
<div>Item 8</div>
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
</div>
<div class="gridhdr">Maintenance Tasks</div>
<div class="grid">
<div>Item 1</div>
<div>Item 2</div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
</div>
<div class="gridhdr">Recurring Tasks</div>
<div class="grid">
<div>Item 1</div>
<div>Item 2</div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
</div>
<div class="gridhdr">Employees</div>
<div class="grid">
<div>Item 1</div>
<div>Item 2</div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
</div>
<div class="gridhdr">Inspections</div>
<div class="grid">
<div>Item 1</div>
<div>Item 2</div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div>Item 4</div>
<div>Item 5</div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
</div>
<div class="gridhdr">Reports</div>
<div class="grid">
<div onclick="location.href=''"><a href=''>Web Application Development</a></div>
<div><a href=''>Software as a Service (SaaS) Systems</a></div>
<div><a href=''>Custom Software</a></div>
<div><a href=''>AWS Cloud Systems Design</a></div>
<div><a href=''>Startup Development and Design</a></div>
<div>Item 6</div>
<div>Item 7</div>
<div>Item 8</div>
<div>Item 9</div>
<div>Item 10</div>
<div>Item 11</div>
<div>Item 12</div>
<div>Item 13</div>
<div>Item 14</div>
<div>Item 15</div>
<div>Item 16</div>
<div>Item 17</div>
<div>Item 18</div>
<div>Item 19</div>
<div>Item 20</div>
</div>
<div class="gridhdr">Help Menu</div>
<div class="grid">
<div onclick="location.href='https://www.c3solutionware.com/webappdev.aspx'"><a href='https://www.c3solutionware.com/webappdev.aspx'>Web Application Development</a></div>
<div onclick="location.href='https://www.c3solutionware.com/cloudsaasdev.aspx'"><a href='https://www.c3solutionware.com/cloudsaasdev.aspx'>Software as a Service (SaaS) Systems</a></div>
<div onclick="location.href='https://www.c3solutionware.com/customsoftware.aspx'"><a href='https://www.c3solutionware.com/customsoftware.aspx'>Custom Software</a></div>
<div onclick="location.href='https://www.c3solutionware.com/cloudappdev.aspx'"><a href='https://www.c3solutionware.com/cloudappdev.aspx'>AWS Cloud Systems Design</a></div>
<div onclick="location.href='https://www.c3solutionware.com/startupdev.aspx'"><a href='https://www.c3solutionware.com/startupdev.aspx'>Startup Development and Design</a></div>
<div onclick="location.href='https://www.c3solutionware.com/about.aspx'"><a href='https://www.c3solutionware.com/about.aspx'>About Us</a></div>
</div>
<br />
</div>
</div>
<h1>Scrollable Full Screen Grid Style Main Menu</h1>
<p>Simple full screen scrollable menu that easily modified and translated dynamically
based on the users credentials and preferences for larger SaaS systems.
Easy to use & learn, minimal clicks, and maximizing screen real estate.
Live systems red icons will blink and then sound audible alarm warnings if not resolved within
a certain time.
</p>
<h2>This is just filler material</h2>
<p></p>
<h1>Web Application Development</h1>
<p>Our custom mobile and desktop web applications have a proven record of being highly reliable, scalable, and consistently
exceeding our customers and business partners expectations.
Whether you are a start-up with the next great product idea
or a Fortune 500 company that needs to modernize.
We have the technical knowledge and experience necessary to quickly turn your vision into reality and
our modular development process allows us to meet any future business and technology needs.
Our innovative web applications are easy to use, easy to maintain, cost effective, and customized to your business.
</p>
<p>With over 25 years of experience developing quality results driven Web Applications, AWS Cloud Systems, and SaaS Custom Software Solutions
from concept to implementation to the enhancement and integration of legacy
systems. Our innovative custom web applications development solutions have led to significant increases in
quality, productivity, and efficiency for both small and large customers spanning numerous
industries, including: Hospitality, Service, Sales & Marketing, Accounting, Insurance, Financial,
Chemical & Industrial, and Manufacturing.
</p>
<p>We stay current with the latest Cloud technologies, industry
standards, security, and best software development practices.</p>
<h1>Footer</h1>
<p>We are a Full Stack Results Driven Web Applications, AWS Cloud Systems, and SaaS Custom Software Solutions Development company located in Austin, Texas.
We specialize in creating Cost-Effective Quality Custom Web Apps, AWS Cloud Systems, and SaaS Software Solutions Development
with over 25 years of Expertise building business critical applications of any size and scope from concept to
live 24/7 production systems that have proven to be both reliable and scalable.
</p>
<table width="100%" cellspacing='10px'>
<tr>
<td style='vertical-align:top'>
<h4>Company</h4>
</td>
<td style='vertical-align:top'>
<h4>Our Services</h4>
</td>
</tr>
<tr>
<td style='vertical-align:top'>
<span style='white-space: nowrap;'><a href='' title='Call or Text Us 24/7' target="_blank">Available 24/7</a></span>
</td>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/webappdev.aspx' title='Results Driven Web Application Development - C3Solutionware Austin' target="_blank">Web Application Development</a>
</td>
</tr>
<tr>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/softwaresolutionrequest.aspx' rel='nofollow' title='Call, Text, or Contact us in Austin - C3Solutionware.com' target="_blank">Contact Us</a>
</td>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/cloudsaasdev.aspx' title='Expert SaaS Systems Development - C3Solutionware Austin' target="_blank">SaaS Systems Development</a>
</td>
</tr>
<tr>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/about.aspx' title='About Us C3Solutionware Austin - Web Applications, AWS Cloud, and SaaS Custom Software Development' target="_blank">About Us</a>
</td>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/customsoftware.aspx' title='Quality Custom Software Development - C3Solutionware Austin' target="_blank">Custom Software</a>
</td>
</tr>
<tr>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/sitemap.aspx' title='Austin Web App Development Company' target="_blank">Site Map</a>
</td>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/cloudappdev.aspx' title='AWS Cloud Systems - C3Solutionware Austin' target="_blank">AWS Cloud Systems</a>
</td>
</tr>
<tr>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/privacypolicy.aspx' target="_blank">Privacy Policy</a>
</td>
<td style='vertical-align:top'>
<a href='https://www.c3solutionware.com/startupdev.aspx' title='Startup Development - C3Solutionware Austin' target="_blank">Startup Development</a>
</td>
</tr>
</table>
<br />
<div class="sitelink">
<a href="https://www.c3solutionware.com" title="Web Applications and SaaS Systems Development - C3Solutionware Austin Tx" target="_blank">
<img alt='Austin Web App Development Company C3Solutionware' src='https://www.c3solutionware.com/images/C3Solutionware_Logo4.jpg' width='15%'/>
</a>
</div>
</body>
</html>
html { font-size: 18px; }
body {
color: black;
font-size: 1.2em;
line-height: 1.6;
background-color: #F5F5F5;
overflow-x: hidden;
padding-left: 25px;
}
.topcontainer {
position: fixed;
left: 5px;
top: 0px;
z-index: 990;
padding: 8px 0px 8px 0px;
width:98.5%;
border: solid 2px #F5F5F5;
border-radius: 20px;
display: flex;
justify-content: center;
background-color: rgba(0,77,165,.65);
border-radius: 20px;
backdrop-filter: blur(15px);
height: 40px;
transition: all 0.50s ease-in-out;
}
.topmenubtnup {
position: fixed;
right: 15px;
top: 3px;
background-color: rgba(255,255,255,.10);
color:#FFF;
z-index: 991;
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
padding: 4px 15px 8px 15px;
border-radius: 45px;
font-size: 24px;
transition: all 0.50s ease-out;
}
.topmenubtnup:hover {
cursor:pointer;
font-size: 30px;
font-weight: bold;
}
.topmenubtndown {
position: fixed;
right: 15px;
top: 17px;
background-color: rgba(0,77,165,.65);
color:#FFF;
z-index: 991;
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
padding: 4px 15px 8px 15px;
border-radius: 45px;
font-size: 24px;
transition: all 0.50s ease-out;
backdrop-filter: blur(15px);
}
.topmenubtndown:hover {
cursor:pointer;
font-size: 30px;
font-weight: bold;
}
.topmenu {
border: solid 5px transparent;
padding: 0px 0px 0px 10px;
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
grid-template-columns: 100px 100px 100px 100px 100px;
transition: all 0.50s ease-in-out;
}
.topmenu>* {
height: 30px;
color:#FFF;
font-weight:normal;
font-size: 18px;
text-align: center;
vertical-align: middle;
}
.topmenu div {
border-radius: 15px;
cursor:pointer;
background-color: rgba(255,255,255,.10);
}
.topmenu div:hover {
cursor:pointer;
margin-top: -7px;
font-size: 21px;
background-color: rgba(255,255,255,.25);
box-shadow: 0 0 5px rgba(255,255,255,.50),
0 0 25px rgba(255,255,255,.50),
0 0 50px rgba(255,255,255,.50),
0 0 200px rgba(255,255,255,.50);
-webkit-box-reflect:below 1px linear-gradient(transparent, #0005);
}
.topmenu div a, a.text {
text-decoration: none;
color:#FFF;
}
.menuscreen {
font-size: 100%;
font-weight: normal;
text-align:left;
top: 0px;
right: 1px;
width:0%;
position:fixed;
visibility:hidden;
z-index: 995;
height: 100%;
background-color: rgba(0,77,165,.65);
border-radius: 20px;
backdrop-filter: blur(15px);
transition: all 0.50s ease-out;
}
.scrollcontent
{
height: 100%;
width: 100%;
overflow-y: auto;
}
.gridhdr {
font-size: 25px;
font-weight: bolder;
color:#FFF;
padding: 40px 0px 0px 30px;
}
.grid {
padding: 0px 20px 0px 40px;
display: grid;
grid-gap: 0px;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.grid>* {
height: 60px;
line-height: 20px;
padding: 5px 5px 5px 5px;
color:#FFF;
font-weight:normal;
font-size: 20px;
}
.grid div:hover {
font-size: 24px;
font-weight: bolder;
cursor:pointer;
overflow-y: hidden;
overflow-x: hidden;
margin-top: -7px;
}
.grid div a, a.text {
text-decoration: none;
color:#FFF;
width:100%;
}
.closemenu {
font-size: 26px;
color: #FFFFFF;
font-weight:bold;
position: fixed;
top: 0px;
right: 20px;
width:20px;
padding: 5px 15px 5px 15px;
display:block;
}
.closemenu:hover {
cursor:pointer;
font-size: 29px;
font-weight:bolder;
background-color: rgba(255,255,255,.25);
border-radius: 30px;
}
h1 {
padding-top:50px
}
.sitelink a, a.text {
text-decoration: none;
}
.sitelink a:hover {
text-decoration: none;
}
vtext = 0;
function blinkingfrontdesk() {
vtextVal = setInterval(function() {
if (vtext == 0) {
vtext = 1;
document.getElementById("frontdesk").style.backgroundColor="#C00000";
}
else
{
vtext = 0;
document.getElementById("frontdesk").style.backgroundColor="rgba(255,255,255,.10)";
}
}, 1000);
}
function hidemenuscreen() {
document.getElementById("closemenu").style.display="none";
document.getElementById("menuscreen").style.width = '0%';
document.getElementById("menuscreen").style.visibility="none";
}
function showmenuscreen(menuId) {
document.getElementById("mainmenu").style.display="none";
document.getElementById("primarymenu").style.display="none";
document.getElementById("frontdeskmenu").style.display="none";
document.getElementById(menuId + "menu").style.display="block";
document.getElementById("menuscreen").style.visibility="visible";
document.getElementById("menuscreen").style.width = '100%';
document.getElementById("closemenu").style.display="block";
}
function topmenubtn() {
if (document.getElementById("topmenu").style.display == "grid") {
document.getElementById("topcontainer").style.height = "0px";
document.getElementById("topmenubtn").className = "topmenubtndown";
document.getElementById("topmenu").style.display = "none";
}
else
{
document.getElementById("topmenu").style.display = "grid";
document.getElementById("topcontainer").style.height = "40px";
document.getElementById("topmenubtn").className = "topmenubtnup";
}
}
Also see: Tab Triggers