Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

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.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class='main-header' id='header-wrap'>
<div class='header clearfix'>
<div class='container'>
<div class='header' id='header'>
<h1>Dunia Blanter</h1>
<p>Share About Material Design, Templates and Blogger Tutorial.</p>
</div>
</div></div>
<nav class='dropdowns' itemprop='mainEntity' itemscope='itemscope' itemtype='http://schema.org/SiteNavigationElement'>
<a class='toggleMenu' href='#'>MENU</a>
<ul class='nav nav-menu2'>
<li><a class='active' href='http://www.idblanter.com' title='Dunia Blanter' itemprop='url'><span itemprop='name'>Home</span></a></li>
<li><a href='#' itemprop='url' title='Lifestyle'><span itemprop='name'>Lifestyle</span></a></li>
<li><a href='#' itemprop='url' title='Nationalisme'><span itemprop='name'>Nationalisme</span></a></li>
<li><a href='#' itemprop='url' title='World'><span itemprop='name'>World</span></a></li>
<li><a href='#' itemprop='url' title='Championship'><span itemprop='name'>Championship</span></a></li>
<li><a href='#' itemprop='url' title='News'><span itemprop='name'>News</span></a></li>
<li><a href='#' itemprop='url' title='Story'><span itemprop='name'>Story</span></a></li>
  <li><a href='#' itemprop='url' title='Story'><span itemprop='name'>Movies</span></a></li>
  <li><a href='#' itemprop='url' title='Story'><span itemprop='name'>Our Project</span></a></li>
<li style='float:right'><a class='shownotif' href='#' itemprop='url' title='Funny'><span itemprop='name'>Notification</span></a></li>
<i class="material-icons downdown">&#xE5DB;</i>
</ul>
</nav>
</div>
<div class='blanternotif'>
<div class='blantertitle'>Notification</div>
<div class='notiftext'>
JASMERAH (Jangan sekali-kali melupakan sejarah), Karena Bangsa yang besar adalah bangsa yang menghargai jasa para pahlawannya.</div>
<a class='waves-effect waves-light close-sf' href='javascript:;' title='Done'>Done</a>
<a class='waves-effect icx close-sf' href='javascript:;'><i class='material-icons'>&#58829;</i></a>
</div>
<div class='matilampu'></div>
<br/><br/>
<center><div class='notifbox'>Click "Notification" Menu for Show Dialog Box.</div></center>
              
            
!

CSS

              
                body{font-family:'Roboto';margin:0}#header-wrap{background:#33363B;color:#fff;padding:0}.header.clearfix{padding:20px 0}.container{width:1200px;max-width:100%;margin:0 auto;position:relative}#header{text-align:center}.container::after,.float-container::after{clear:both;content:'';display:table}.dropdowns{font:normal 900 13px Roboto,Arial,sans-serif;background:#3949ab;text-transform:uppercase;height:48px;line-height:48px;width:1200px;margin:0 auto;max-width:100%}.toggleMenu{display:none;padding:0 15px;height:48px;line-height:48px;color:#fff!important}.nav-menu2{padding:0;background:#3949ab;list-style:none;margin:0;position:relative}.nav-menu2:before,.nav-menu2:after{content:" ";display:table}.nav-menu2 > li{float:left}.nav-menu2 li{position:relative;margin:0;border-right:1px solid rgba(0,0,0,0.1);border-left:1px solid rgba(255,255,255,0.1)}.nav-menu2 > li > a{display:block;height:48px;line-height:48px;color:#fff;font-weight:900;letter-spacing:1px}.nav-menu2 a{display:block;padding:0 15px}.notiftext{font-size:14px;line-height:1.5}a:link{text-decoration:none;transition:all .2s ease-in-out}.nav-menu2 > li:hover > a{background:#283593}
a.waves-light.close-sf{font-size:14px;color:#fff}
.blanternotif,.matilampu{visibility:hidden;opacity:0}
.blanternotif{background:#fff;position:fixed;padding:25px;top:15%;transition:all .3s ease-in-out;max-width:450px;left:35%;z-index:99;border-radius:4px;box-shadow:0 9px 46px 8px rgba(0,0,0,.14),0 11px 15px -7px rgba(0,0,0,.12),0 24px 38px 3px rgba(0,0,0,.2)}
.blanternotif button{border:none;position:absolute;margin-top:17px;right:30px;cursor:pointer;background:#e8e8e8;padding-left:7px;outline:0}
a.waves-light.close-sf{background:#3949ab;margin-top:15px;display:inline-block;padding:10px 13px;border-radius:3px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);float:right;text-transform:uppercase}
.matilampu{position:fixed;top:0;background:rgba(0,0,0,.59);left:0;right:0;bottom:0;margin:0;z-index:97;transition:all .4s ease-in-out}
.blantertitle{margin-bottom:15px}
.blanternotif.aktif,.matilampu.aktif{visibility:visible;opacity:1}
.blanternotif.aktif{top:20%}
.icx{position:absolute;top:10px;right:10px;border-radius:100%;width:30px;height:30px}
.icx i{padding:3px;color:#444}
.icx:hover{color:#222}.shownotif{float:right!important}.notifbox{text-align:center;background:#3949ab;color:#fff;padding:10px 20px;display:inline-block;border-radius:4px;width:400px;margin:0 auto;max-width:100%}.downdown{position:absolute;top:0;right:45px;font-size:40px;animation-duration:3s;animation-iteration-count:infinite;animation-name:imut}
@keyframes imut{0%{top:-70px}50%{top:-40px}100%{top:-70px}}@media screen and (max-width:768px){.nav-menu2,.downdown{display:none}.nav-menu2 li{width:100%}.toggleMenu{display:block}.dropdowns{height:auto;overflow:hidden}.blanternotif{left:10%;right:10%}}
              
            
!

JS

              
                $(document).ready(function(){$(".close-sf").click(function(){$(".blanternotif,.matilampu").removeClass("aktif")})}),$(document).ready(function(){$(".shownotif").click(function(){$(".blanternotif,.matilampu").toggleClass("aktif")})}),$(document).ready(function(){$(".toggleMenu").click(function(){$(".nav-menu2").slideToggle("fast")})});
              
            
!
999px

Console