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

              
                <footer class="c-footer">
    <section>
      <div class="c-footer_logo">
        <a href="https://www.tamu.edu/">
        <img
          src="https://dmc-assets.tamu.edu/pattern-library/logos/Box-Stack.svg"
          alt="Texas A&amp;M University Logo"
      /></a>
      </div>

      <div class="c-footer_social-items">
        <ul>
          <li>
            <a href="https://www.facebook.com/tamu"><i class="fab fa-facebook-f fa-lg" title="Facebook"></i
            ><span class="sr-only">Facebook</span></a
          >
        </li>
        <li>
          <a href="https://twitter.com/tamu"
            ><i class="fab fa-twitter fa-lg" title="Twitter"></i
            ><span class="sr-only">Twitter</span></a>
          </li>
          <li>
            <a href="http://instagram.com/tamu#"><i class="fab fa-instagram fa-lg" title="Instagram"></i
            ><span class="sr-only">Instagram</span></a
          >
        </li>
        <li>
          <a href="https://www.youtube.com/channel/UCOsw8OTNbXrtTurx5c3RDLQ"
            ><i class="fab fa-youtube fa-lg" title="YouTube"></i
            ><span class="sr-only">YouTube</span></a
          >
        </li>

        <li>
          <a href="https://www.linkedin.com/edu/school?id=19491"
            ><i class="fab fa-linkedin fa-lg" title="LinkedIn"></i
            ><span class="sr-only">LinkedIn</span></a
          >
        </li>

        <li>
          <a href="https://www.reddit.com/user/tamu"
            ><i class="fab fa-reddit-alien fa-lg" title="Reddit"></i
            ><span class="sr-only">Reddit</span></a
          >
        </li>

        <li>
          <a href="https://open.spotify.com/user/tamu"
            ><i class="fab fa-spotify fa-lg" title="Spotify"></i
            ><span class="sr-only">Spotify</span></a
          >
        </li>

        <li>
          <a href="http://www.pinterest.com/TAMU/"
            ><i class="fab fa-pinterest-p fa-lg" title="Pinterest"></i
            ><span class="sr-only">Pinterest</span></a
          >
        </li>

        <li>
          <a href="https://www.snapchat.com/add/tamuofficial"
            ><i class="fab fa-snapchat-ghost fa-lg" title="Snapchat"></i
            ><span class="sr-only">Snapchat</span></a
          >
        </li>
      </ul>
    </div>

    <p class="c-footer_contact">
       <a href="tel:1-979-845-4641">(979) 845-4641</a> | <a href="mailto:marcomm@tamu.edu">Contact Us</a>
            </p>
    </section>

    <nav class="c-footer_submenu">
      <ul>
        <li>
          <a href="https://tamu.edu">&copy; 2020 Texas A&amp;M University</a>
        </li>
        <li>
          <a href="https://www.tamu.edu/statements/index.html">Site Policies</a>
        </li>
        
      </ul>
    </nav>
  </footer>
              
            
!

CSS

              
                body {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}
.c-footer {
  background: #f7f7f7;
  padding-top: 2rem;
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 70rem;
    margin: auto;

    img {
      width: 18.75rem;
      height: auto;
    }
    .c-footer_social-items {
      display: flex;
      max-width: 425px;
      width: 100%;
      justify-content: center;
      align-items: center;
      margin: 2rem auto 2rem;
      &:after,
      &:before {
        content: "";
        border-top: 1px solid;
        -webkit-box-flex: 1;
        flex: 1 0 40px;
        color: #b3b3b3;
      }
      &:before {
        margin: 0 1rem 0 0;
      }
       &:after {
        margin: 0 0 0 1rem;
      }

      ul {
        display: flex;
        justify-content: space-evenly;
        
        li {
          list-style: none;
          margin: 0 0.375rem;
          a {
            color: $maroon;

            &:hover {
              color: $red;
            }
          }
        }
      }
    }
    .c-footer_contact {
      margin: 0 auto 2rem auto;
      a {
        color: #1f3a93;
        text-decoration: none;
        border-bottom: 1px dotted;
        &:hover {
          color: $red;
          text-decoration: none;
          border-bottom: 1px solid;
        }
      }
    }
  }
  .c-footer_submenu {
    background-color: $maroon;
    padding: 0.75rem 0;
    ul {
      display: flex;
      justify-content: center;
      text-align: center;
      text-transform: uppercase;
      @include respond-until(md) {
        flex-direction: column;
      }
      li {
        list-style: none;
        margin: 0.5rem 1rem;
        @include respond-from(md) {
        margin: 1rem;
        }
        
        a {
          font-size: 1rem;
          color: $white;
          text-decoration: none;
          border-bottom: 1px dotted;
          &:hover {
            color: #939393;
            text-decoration: none;
            border-bottom: 1px solid;
          }
        }
      }
    }
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console