How To Stretch Background Html
I had taken and establish the following lawmaking for a navigation menu that I was interested in using notwithstanding just had a quick question if anyone can help. What I am wanting to take and run into if it was possible, was to take and make the color stretch to the summit of the screen to fill the gap in the post-obit code. Any aid would be appreciated cheers in accelerate. Whatsoever questions let me know. Area in question is in the header surface area where information technology says "Some Text Here" wanting to go to the top of screen if possible for the color.
Here is the lawmaking
<!doctype html> <html lang="en-U.s." prefix="og: http://ogp.me/ns#" class=""> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="http://w3bits.com/wp-content/themes/bits-v2/labs.css"> <title>Site Title Here</championship> <script> var script = function(src) { var east = document.createElement('script'); due east.async = true; due east.src = src; document.getElementsByTagName('head')[0].appendChild(due east); }; var manner = function(css) { var e = document.createElement('style'); if (eastward.styleSheet) { e.styleSheet.cssText = css; } else { eastward.appendChild(document.createTextNode(css)); } document.getElementsByTagName('caput')[0].appendChild(eastward); } var toggleDisplay = function(el, display, class_el) { var EL = document.querySelector(el); if (EL.manner.display == brandish) { EL.style.brandish = "none"; if (class_el) EL.classList.add together(class_el); } else { EL.fashion.display = display; if (class_el) EL.classList.add(class_el); } }; if (!showAds) { setTimeout(function() { var west = document.querySelector('.wrapper'); if (typeof ga !== 'undefined') { ga('send', 'effect', 'Adblock', 'Yeah', { 'nonInteraction': one }); } else if (typeof _gaq !== 'undefined') { _gaq.push(['_trackEvent', 'Adblock', 'Yes', undefined, undefined, truthful]); } var ab_a = document.createElement("div"), w_p = w.parentNode; w_p.classList.add together("ab-active"); ab_a.setAttribute("class", "ab-warning"); w_p.parentNode.insertBefore(ab_a, w_p); ab_a.innerHTML = '<p>I never intend to spoil your experience here, but this is important. I want to share with you that this website exists totally because of adverts coin.</p><p>If you whitelist my website in your adblocker software, I won\'t show you more than than ii Google ads per page, and no popups. It\'s a promise.</p><p>Thanks for your patience :-)</p><p class="modest" mode="opacity: .75">This message disappears past itself in 15 seconds.</p>'; var ab = document.querySelector(".ab-warning"); certificate.documentElement.setAttribute("oncontextmenu", "return false"); mode('.ab-alert{box-sizing:border-box;line-tiptop:ane.75}.site-wrapper{transition: opacity .5s ease-in-out;}.ab-active{ opacity: .0125; pointer-events: none;position:fixed;width:100%;}.ab-alert,.ab-agile{user-select:none;}.ab-alert{opacity: ane;transition: opacity .5s ease-in-out;font-size: 15px;position: accented; pinnacle: 50%; left: 50%; transform: translate(-l%,-fifty%); width: 100%;max-width: 450px; background-color: white; padding: 2.5em}'); setInterval(function() { ab.manner.opacity = "0"; ab.remove(); w_p.classList.remove("ab-active"); document.documentElement.removeAttribute("oncontextmenu"); }, 15000); }, 1000); } script("//s3.buysellads.com/air-conditioning/bsa.js"); </script> <!-- This site is optimized with the Yoast SEO plugin v5.9.1 - https://yoast.com/wordpress/plugins/seo/ --> <link rel="canonical" href="http://w3bits.com/labs/css-responsive-nav/" /> <meta property="og:locale" content="en_US" /> <meta property="og:blazon" content="article" /> <meta belongings="og:title" content="A CSS-only Bear on-friendly Navigation Menu - W3Bits" /> <meta holding="og:description" content="Navigation ▾ Sample Dropdown ▾ ▾ Item one.1 Particular one.two Detail 1.3 Item 1.4 2-level DD ▾ ▾ Particular 2.1 Item 2.2 ▸ ▾ Detail 2.ii.1 Item 2.2.2 Particular 2.ii.3 Item 2.iii Multiple Levels ▾ ▾ 3.1 ▸ ▾ 3.one.1 3.1.2 three.1.3 3.i.4 3.2 ▸ ▾ 3.ii.i 3.two.2 3.2.three 3.3 ▸ ▾ three.3.1 3.3.2 iii.2.2 …" /> <meta property="og:url" content="http://w3bits.com/labs/css-responsive-nav/" /> <meta holding="og:site_name" content="W3Bits" /> <meta proper name="twitter:card" content="summary_large_image" /> <meta proper name="twitter:description" content="Navigation ▾ Sample Dropdown ▾ ▾ Item 1.i Item 1.ii Particular one.three Item ane.four two-level DD ▾ ▾ Particular 2.1 Item 2.2 ▸ ▾ Detail 2.2.1 Particular 2.2.2 Item 2.ii.iii Detail ii.three Multiple Levels ▾ ▾ 3.1 ▸ ▾ iii.ane.1 3.1.2 3.ane.three 3.1.4 3.2 ▸ ▾ three.ii.one 3.2.2 three.2.3 3.3 ▸ ▾ three.3.1 3.iii.2 3.2.2 […]" /> <meta name="twitter:title" content="A CSS-but Touch-friendly Navigation Bill of fare - W3Bits" /> <meta proper name="twitter:site" content="@w3bits_" /> <meta proper noun="twitter:creator" content="@w3bits_" /> <script type='application/ld+json'> { "@context": "http:\/\/schema.org", "@type": "WebSite", "@id": "#website", "url": "http:\/\/w3bits.com\/", "name": "W3Bits", "potentialAction": { "@type": "SearchAction", "target": "http:\/\/w3bits.com\/?s={search_term_string}", "query-input": "required proper name=search_term_string" } } </script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//s.west.org' /> <link rel='https://api.w.org/' href='http://w3bits.com/wp-json/' /> <link rel="EditURI" blazon="application/rsd+xml" title="RSD" href="http://w3bits.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://w3bits.com/wp-includes/wlwmanifest.xml" /> <link rel='shortlink' href='http://w3bits.com/?p=2474' /> <link rel="alternate" blazon="awarding/json+oembed" href="http://w3bits.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fw3bits.com%2Flabs%2Fcss-responsive-nav%2F" /> <link rel="alternating" blazon="text/xml+oembed" href="http://w3bits.com/wp-json/oembed/ane.0/embed?url=http%3A%2F%2Fw3bits.com%2Flabs%2Fcss-responsive-nav%2F&format=xml" /> <link rel="stylesheet" href="http://w3bits.com/files/css/css-responsive-nav.css"> </head> <body class="labs-template-default single single-labs postid-2474"> <div class="container"> <div class="wrapper"> <div class="bup" id="bup"> <style> .w3bits-labs { width: 468px; height: 60px; margin: 1.5em 0 0 } @media(min-width: 728px) { .w3bits-labs { width: 728px !important; tiptop: 90px !important; } } @media(max-width:727px) and (min-width: 468px) { .w3bits-labs { width: 468px !important; meridian: 60px !important; } } @media(max-width: 467px) and (min-width: 234px) { .w3bits-labs { width: 234px !important; superlative: 60px !important; } } </style> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- W3Bits Labs --> <ins class="adsbygoogle w3bits-labs" way="display:block" data-advert-client="ca-pub-1581655830066906" information-ad-slot="9749450056" data-advertizing-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div style="background:#0099cc; font-size:22px; text-marshal:center; color:#000; font-weight:bold; height:auto; padding-top:50px;">Some Text Here !!</div> <div id="wrap"> <nav id="menu"> <label for="tm" id="toggle-carte du jour">Navigation Bill of fare <span grade="drop-icon">▾</span></label> <input blazon="checkbox" id="tm"> <ul class="master-menu cf"> <li><a href="#">Dwelling</a></li> <li><a href="#">Dropdown <span class="drop-icon">▾</span> <characterization title="Toggle Drib-downward" form="drop-icon" for="sm0">▾</label> </a> <input type="checkbox" id="sm0"> <ul class="sub-menu"> <li><a href="#">Item i.1</a></li> <li><a href="#">Detail i.two</a></li> <li><a href="#">Item 1.3</a></li> <li><a href="#">Item 1.4</a></li> </ul> </li> <li><a href="#">2-level DD <span course="drop-icon">▾</bridge> <characterization title="Toggle Drop-downward" class="drop-icon" for="sm1">▾</label> </a> <input blazon="checkbox" id="sm1"> <ul class="sub-card"> <li><a href="#">Particular 2.ane</a></li> <li><a href="#">Detail 2.2 <span class="drop-icon">▸</bridge> <characterization championship="Toggle Drop-downwards" class="drop-icon" for="sm2">▾</label> </a> <input type="checkbox" id="sm2"> <ul form="sub-menu"> <li><a href="#">Detail ii.2.i</a></li> <li><a href="#">Item two.ii.two</a></li> <li><a href="#">Item ii.2.3</a></li> </ul> </li> <li><a href="#">Item 2.3</a></li> </ul> </li> <li><a href="#">Multiple Levels <bridge class="driblet-icon">▾</bridge> <label title="Toggle Drib-downward" class="driblet-icon" for="sm3">▾</label> </a> <input blazon="checkbox" id="sm3"> <ul grade="sub-menu"> <li><a href="">iii.1 <span form="drib-icon">▸</span> <characterization title="Toggle Drop-downward" class="drop-icon" for="sm4">▾</label> </a> <input type="checkbox" id="sm4"> <ul grade="sub-carte"> <li><a href="">three.one.1</a></li> <li><a href="">3.1.2</a></li> <li><a href="">3.1.3</a></li> <li><a href="">3.one.iv</a></li> </ul> </li> <li><a href="">three.2 <span course="driblet-icon">▸</span> <characterization title="Toggle Drop-down" grade="drop-icon" for="sm5">▾</label> </a> <input type="checkbox" id="sm5"> </a> <ul form="sub-menu"> <li><a href="">three.two.ane</a></li> <li><a href="">3.2.two</a></li> <li><a href="">3.two.three</a></li> </ul> </li> <li><a href="">three.iii <span class="drop-icon">▸</bridge> <label championship="Toggle Drop-downwards" class="drop-icon" for="sm6">▾</label> </a> <input blazon="checkbox" id="sm6"> </a> <ul class="sub-menu"> <li><a href="">3.3.1</a></li> <li><a href="">three.3.2</a></li> <li><a href="">3.2.ii</a></li> <li><a href="">three.3.four</a></li> <li><a href="">3.three.5</a></li> </ul> </li> </ul> </li> <li><a href="#">Sample #ii</a></li> <li><a href="#">Another DD <bridge form="drib-icon">▾</span> <characterization championship="Toggle Drop-down" class="drop-icon" for="sm8">▾</label> </a> <input blazon="checkbox" id="sm8"> </a> <ul class="sub-menu"> <li><a href="">four.ane</a></li> <li><a href="">4.2</a></li> <li><a href="">4.2</a></li> <li><a href="">4.four</a></li> </ul> </li> </ul> </nav> </div> <nav form="cf lab-nav lab-nav--stock-still lab-nav--bottom lab-nav--calorie-free"> <a href="http://w3bits.com/css-responsive-nav-carte/" title="Back to the article" form="lab-article-link"> <svg course="icon icon-correct-open icon-opposite"> <apply xlink:href="http://w3bits.com/wp-content/themes/bits-v2/assets/img/icons.svg#icon-correct-open"></use> </svg><span> Commodity</span></a> <ul grade="lab-share"> <li> <a href="http://www.facebook.com/sharer/sharer.php?u=http://w3bits.com/css-responsive-nav-carte/" championship="Share on Facebook"> <svg course="icon icon-facebook"> <use xlink:href="http://w3bits.com/wp-content/themes/$.25-v2/assets/img/icons.svg#icon-facebook"></apply> </svg> </a> </li> <!-- --> <li> <a href="https://twitter.com/intent/tweet?original_referer=http://w3bits.com/css-responsive-nav-menu/&text=$article_title&url=http://w3bits.com/css-responsive-nav-menu/&via=w3bits_" title="Tweet"> <svg class="icon icon-twitter"> <use xlink:href="http://w3bits.com/wp-content/themes/bits-v2/avails/img/icons.svg#icon-twitter"></apply> </svg> </a> </li> <!-- --> <li> <a href="https://plus.google.com/share?url=http://w3bits.com/css-responsive-nav-menu/" title="Share on Google+"> <svg class="icon icon-gplus"> <use xlink:href="http://w3bits.com/wp-content/themes/bits-v2/avails/img/icons.svg#icon-gplus"></use> </svg> </a> </li> <!-- --> <li> <a href="javascript:void((part(d){var%20e=d.createElement('script');e.setAttribute('type','text/javascript');due east.setAttribute('charset','UTF-viii');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);d.trunk.appendChild(e)})(certificate));" title="Pin-it on Pinterest"> <svg class="icon icon-pinterest"> <use xlink:href="http://w3bits.com/wp-content/themes/bits-v2/avails/img/icons.svg#icon-pinterest"></employ> </svg> </a> </li> <!-- --> <li> <a href="http://www.addthis.com/bookmark.php?url=http://w3bits.com/css-responsive-nav-bill of fare/" class="share-link" rel="external nofollow" title="Share the love" target="_blank"> <svg class="icon icon-share"> <use xlink:href="http://w3bits.com/wp-content/themes/bits-v2/assets/img/icons.svg#icon-share"></use> </svg><span></span></a> </li> </ul> </nav> <a href="http://w3bits.com/follow/" class="lab-follow lab-follow--light"><svg class="icon icon-plus"><use xlink:href="http://w3bits.com/wp-content/themes/bits-v2/assets/img/icons.svg#icon-plus"></apply></svg> Follow</a> <script> (function(i, s, o, g, r, a, g) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), thou = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; 1000.parentNode.insertBefore(a, k) })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-10703354-8', 'w3bits.com'); ga('require', 'displayfeatures'); ga('send', 'pageview'); var toggle_menu = document.querySelector("#toggle_menu"), toggle_search = document.querySelector("#toggle_search"); if (toggle_menu) { toggle_menu.addEventListener("click", role() { toggleDisplay("#principal-nav", "block", false); toggle_menu.classList.toggle("agile"); toggle_menu.children[0].classList.toggle("icon-close"); }, fake); } if (toggle_search) { toggle_search.addEventListener("click", office() { toggleDisplay("#search", "block", false); toggle_search.classList.toggle("active"); toggle_search.children[0].classList.toggle("icon-close"); }, false); } </script> <script type='text/javascript' src='http://w3bits.com/wp-content/themes/bits-v2/avails/js/prettify.js'></script> <script blazon='text/javascript'> prettyPrint() </script> </div> </body> </html>
How To Stretch Background Html,
Source: https://stackoverflow.com/questions/48778071/how-to-stretch-background-color
Posted by: gentrysaughts1992.blogspot.com
0 Response to "How To Stretch Background Html"
Post a Comment