Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

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.

Behavior

Auto Save

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

              
                <!-- Bottom Navbar -->
<nav class="navbar navbar-light bg-white border navbar-expand fixed-bottom">
  <ul class="navbar-nav nav-justified w-100">

    <li class="nav-item"><a class="nav-link position-relative active" href="/nurse/default/index">
        <div class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
            <polyline points="9 22 9 12 15 12 15 22"></polyline>
          </svg></div>Home
      </a></li>
    <li class="nav-item"><a class="nav-link position-relative" href="/nurse/quiz">
        <div class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <circle cx="12" cy="8" r="7"></circle>
            <polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>
          </svg></div>Kuis
      </a></li>
    <li class="nav-item"><a class="nav-link position-relative" href="/nurse/pregnancy-class">
        <div class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path>
            <rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>
          </svg></div>Kelas
      </a></li>
    <li class="nav-item"><a class="nav-link position-relative" href="/notification">
        <div class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
            <path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
          </svg></div>Notifikasi
      </a></li>
    <li class="nav-item"><a class="nav-link position-relative" href="/profile">
        <div class="nav-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
            <circle cx="12" cy="7" r="4"></circle>
          </svg></div>Akun
      </a></li>
  </ul>
</nav>
<!-- End Bottom Navbar -->

<!-- Content -->
<div class="container">
  <div class="row">
    <div class="clearfix py-4">

      <p>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta, ante a vehicula elementum, turpis odio porttitor diam, et convallis augue ex et nibh. Mauris a eleifend lacus. Donec id felis a ex lacinia ornare at quis ex. Praesent vulputate metus eget ipsum suscipit sollicitudin. Donec vulputate urna sit amet turpis elementum lacinia. Phasellus quis ullamcorper tellus. Nullam nec est enim. Sed ultrices blandit enim sed tincidunt. Donec gravida molestie justo a scelerisque. Donec venenatis eget nunc quis aliquet. Donec id tellus non sapien auctor egestas. Vestibulum id sodales tortor, nec volutpat felis. Vestibulum sed commodo nisl. Vestibulum sit amet cursus mauris, in accumsan nunc. Duis sit amet diam ut ante scelerisque laoreet. Proin eleifend consectetur metus, quis fermentum turpis sodales a.
      </p>
      <p>
        Nulla lacinia est dictum odio imperdiet pharetra. Donec auctor mi sed arcu pharetra, ac semper neque cursus. Sed orci lacus, bibendum lobortis euismod sit amet, ornare in magna. Fusce hendrerit pellentesque nisi quis accumsan. Nunc vel euismod turpis. Nullam massa velit, mattis non finibus in, pretium quis nibh. Duis in euismod diam. Nullam id iaculis metus, quis auctor purus. Quisque malesuada arcu ac augue gravida, id euismod arcu pellentesque.
      </p>
      <p>
        Maecenas dignissim nisl a urna scelerisque, id maximus elit imperdiet. Etiam consectetur tortor eu lorem mattis cursus. Nulla facilisi. Maecenas iaculis ornare elit vitae consequat. Maecenas vel purus quis leo porta ultrices id vel tortor. In vel varius quam. Nam laoreet ac arcu eget tempus. Donec pretium risus in convallis varius. Vestibulum egestas leo mauris, quis commodo odio imperdiet et. Vivamus id lectus vel libero posuere consectetur eget nec elit. Sed ullamcorper ultricies orci, in congue felis suscipit quis. Cras auctor sem nec nunc sodales, vitae congue est hendrerit. In hac habitasse platea dictumst. Cras rutrum efficitur lectus, bibendum rhoncus purus pharetra non.
      </p>
      <p>
        Vivamus in ante justo. Etiam sem augue, imperdiet eu massa at, egestas posuere elit. Integer in enim fringilla, elementum tellus eu, luctus dolor. Ut mattis sit amet metus nec viverra. Donec dolor sapien, blandit non purus vitae, laoreet consequat arcu. Phasellus iaculis justo at tellus ultricies vulputate. Fusce sit amet augue eu magna dapibus sagittis. Quisque elementum orci velit, quis congue sem tempus et. Nam non vehicula lectus.
      </p>
      <p>
        Phasellus et risus vel ante malesuada facilisis quis vel nunc. Sed quam augue, eleifend ac elementum sit amet, ornare nec nunc. Donec sodales arcu mi. Phasellus pharetra metus ex, sed lacinia nunc sagittis eget. Mauris dignissim felis a sapien commodo scelerisque. Fusce pretium volutpat hendrerit. Vestibulum ut mollis magna, sit amet luctus tellus. Mauris vel justo ut diam rhoncus laoreet et at libero. Morbi pharetra nunc vel nibh consequat interdum. Proin molestie, purus efficitur fermentum gravida, purus erat porta diam, id facilisis dui metus at diam.
      </p>

    </div>
  </div>
</div>
<!-- End Content -->
              
            
!

CSS

              
                :root {
  --rs-white: #ffffff;
  --rs-primary: #f472b7;
  --rs-secondary: #9b64d3;
}

.bg-rest {
  background: var(--rs-primary);
  background: -moz-linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
  background: -webkit-linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
  background: linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
}

.navbar.fixed-bottom .nav-link {
  font-weight: 600;
}

.navbar.fixed-bottom .nav-link .nav-icon {
  text-align: center;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 1.25rem;
  margin-bottom: 0.5rem;
  max-width: 6rem;
  margin-left: auto;
  margin-right: auto;
}

.navbar.fixed-bottom .nav-link .nav-icon svg {
  height: 1.5rem;
}

.navbar.fixed-bottom .nav-link.active .nav-icon,
.navbar.fixed-bottom .nav-link:hover .nav-icon {
  background: var(--rs-primary);
  background: -moz-linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
  background: -webkit-linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
  background: linear-gradient(
    150deg,
    var(--rs-primary) 20%,
    var(--rs-secondary) 90%
  );
}

.navbar.fixed-bottom .nav-link.active .nav-icon svg,
.navbar.fixed-bottom .nav-link:hover .nav-icon svg {
  stroke: var(--rs-white);
}

              
            
!

JS

              
                
              
            
!
999px

Console