Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <!-- SÓLO DEPENDENCIAS -->

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>


<div class="container-fluid fixed">
  <div class="row d-block">
    <div class="header-nav-wrapper">
      <div class="logo">
        <a href="#inicio"><img src="https://tympanus.net/Freebies/Synthetica/img/synthetica-logo.png"></a>

      <div class="primary-nav-wrapper">
        <nav class="navbar">
          <ul class="primary-nav">
            <li><a href="#">Empresa</a></li>
            <li><a href="#">Equipo</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Servicios</a>
              <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                <a class="dropdown-item" href="#">Área Corporativa - Tributaria - Laboral</a>

                <a class="dropdown-item" href="#">Área Ambiental</a>
                <a class="dropdown-item" href="#">Área Derecho Administrativo - Regulador</a>
            <li><a href="#">Alianzas</a></li>
            <li><a href="#">Contacto</a></li>

              /* line 217, scss/style.scss */
.header-nav-wrapper {
  position: relative;
  background-color: #414A52;
  border-bottom: solid 5px #7AE2DE;

/* line 224, scss/style.scss */
.header-nav-wrapper .logo {
  display: inline-block;
  width: 340px;
  padding: 30px 0;
  text-align: center;
  background-color: #414A52;

/* line 236, scss/style.scss */
.header-nav-wrapper .primary-nav-wrapper {
  float: right;
  -webkit-transition: all 300ms;
  transition: all 300ms;

/* line 243, scss/style.scss */
.header-nav-wrapper nav {
  display: inline-block;
  margin-right: 60px;
  padding: 34px 0 33px;

/* line 250, scss/style.scss */
.header-nav-wrapper nav ul:not(.dropdown-menu) {
  display: inline-block;

/* line 254, scss/style.scss */
.header-nav-wrapper nav ul li {
  font-size: 13px;
  display: inline-block;
  padding: 10px 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-right: solid 1px #505c66;

/* line 267, scss/style.scss */
.header-nav-wrapper nav ul li:last-child {
  border-right: none;

/* line 271, scss/style.scss */
.header-nav-wrapper nav ul li a {
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
  text-decoration: none;
  color: #ffffff;

/* line 282, scss/style.scss */
.header-nav-wrapper nav ul li a:hover {
  color: #7AE2DE;

/* line 286, scss/style.scss */
.header-nav-wrapper nav ul li a:before {
  position: absolute;
  bottom: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 2px;
  content: '';
  -webkit-transition: all .3s ease-in-out 0s;
  transition: all .3s ease-in-out 0s;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #7AE2DE;

/* line 307, scss/style.scss */
.header-nav-wrapper nav ul li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);

/* line 317, scss/style.scss */
.header-nav-wrapper nav div.dropdown-menu {
  background-color: #414A52;
  text-align: center;
  padding: 20px;
  font-size: 13px;

/* line 325, scss/style.scss */
.header-nav-wrapper nav div.dropdown-menu a {
  background: none;
  margin-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
  width: auto !important;

/* line 326, scss/style.scss */
.header-nav-wrapper nav div.dropdown-menu a:last-child {
  margin-bottom: 0px;

/* line 330, scss/style.scss */
.header-nav-wrapper .is-visible {
  visibility: visible;
  opacity: 1;

/* line 481, scss/style.scss */
.primary-nav-wrapper.open {
  visibility: visible;
  opacity: 1;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.