cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <div id="browser-notice" class="notification strong">
    <div class="wrapper">
        <p>You appear to be using an unsupported browser, and it may not be able to display this site properly.</p>
        <p>You may wish to <a href="/browsers/">upgrade your browser</a>.</p>

        <button title="Close this notification" id="close-unsupported-browser-notification" class="button button--close close-notification"><span>Close</span></button>
    </div>
</div>
<div id="cookie-notice" class="notification" aria-describedby="cookieinfo">
    <div class="wrapper">
        <p tabindex="0" id="cookieinfo" class="cookieinfo">This site uses cookies to make the site simpler. <a href="/cookies/">Find out more about cookies</a></p>
        <button title="Close this notification" id="close-cookie-notification" class="button button--close close-notification">Close</button>
    </div>
</div>
            
          
!
            
              body {
  padding: 0 !important;
}

.notification {
  top: -100%;
  -webkit-transition: top .4s;
  transition: top .4s;
  background: #333333;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
}

.notification p {
  margin: 7px 0 0;
  padding-right: 40px;
}

.notification a {
  color: #ffffff;
}

.notification .wrapper {
  position: relative;
  padding: 8px 15px 12px;
}

.notification .close-notification {
  background: url(../images/icons/notification_close_white.png) no-repeat top right transparent;
  height: 27px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  right: 15px;
  text-indent: 100%;
  top: 14px;
  width: 27px;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}

@media only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6 / 2), only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx) {

  .notification .close-notification {
    background-image: url("../images/icons/notification_close_white_@2x.png");
    background-size: 27px 27px;
  }
}

.notification .close-notification:hover, .notification .close-notification:active {
  opacity: 0.5;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.notification.strong {
  background: #ffb644;
  color: #333333;
}

.notification.strong a {
  color: #333333;
}

.notification.strong .close-notification {
  background-image: url(../images/icons/notification_close_grey.png);
}

@media only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6 / 2), only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 1.3dppx) {

  .notification.strong .close-notification {
    background-image: url("../images/icons/notification_close_grey_@2x.png");
    background-size: 27px 27px;
  }
}
            
          
!
999px
Loading ..................

Console