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 id="app">
<section class="hero is-dark is-medium" class="masthead" role="img" v-bind:aria-label="this.featimgposts[0].title" v-bind:style="{ 'background': 'radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 39%, rgba(0,0,0,0.95) 100%), url(' + this.featimages[0] + ') no-repeat center center scroll' }">
  <!-- Hero head: will stick at the top -->
  <div class="hero-head">
    <nav class="navbar is-transparent">
      <div class="container">
        <div class="navbar-brand">
          <a class="navbar-item is-size-4 has-text-weight-bold" href="#home">
            Joe Steinbring
          </a>
          <span class="navbar-burger burger has-text-white" data-target="navbarMenuHero" onclick="document.getElementById('navbarMenuHero').classList.toggle('is-active');">
            <span></span>
            <span></span>
            <span></span>
          </span>
        </div>
        <div id="navbarMenuHero" class="navbar-menu">
          <div class="navbar-end">
            <a class="navbar-item">
              About
            </a>
            <a class="navbar-item">
              Updates
            </a>
            <a class="navbar-item">
              Photos
            </a>
            <a class="navbar-item">
              Travel
            </a>
          </div>
        </div>
      </div>
    </nav>
  </div>

  <!-- Hero content: will be in the middle -->
  <div class="hero-body">
  </div>
</section>
</div>

<!-- Start: Content -->
<div class="box mr-5 ml-5 upwardbump">
	<section class="section">
	<div class="container">
		<h1 class="title">About</h1>
		<p>Hi! My name is <a href="https://jws.dev/">Joe Steinbring</a>. I am a web application engineer in Glendale, Wisconsin (a suburb of Milwaukee). I currently work for the <a href="https://uwm.edu">University of Wisconsin, Milwaukee</a>. I have two dogs, a cat, and a hobby collection hobby.</p>
		<p>This website exists as a little bit of an <a href="https://blog.jws.app/tag/jws-app/">experimental laboratory</a>. You can follow some of my public work <a href="https://jws.app/#updates">below</a>.</p>
	</div>
	</section>
</div>

<!-- The footer  -->
<footer class="footer-distributed">

	<div class="footer-right">

		<a rel="me" href="https://keybase.io/steinbring"><i class="fab fa-keybase" title="Keybase"></i></a>
<a rel="me" href="https://twitter.com/steinbring"><i class="fab fa-twitter" title="Twitter"></i></a>
<a rel="me" href="https://www.instagram.com/joesteinbring/"><i class="fab fa-instagram" title="Instagram"></i></a>
<a rel="me" href="https://mastodon.social/@steinbring"><i class="fab fa-mastodon" title="Mastodon"></i></a>

	</div>

	<div class="footer-left">

		<p class="footer-links">
			<a class="link-1" href="#about">About</a>

			<a href="#updates">Updates</a>

			<a href="#photos">Photos</a>

			<a href="#travel">Travel</a>
		</p>

		<p>Joe Steinbring &copy; 2020</p>
	</div>

</footer>
              
            
!

CSS

              
                /* For the hero image */
.masthead {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 95vh; /* if you don't want it to take up the full screen, reduce this number */
  overflow: hidden;
  background-size: cover;
}
#app, body{
  margin:0;
  padding:0;
}
/* Bump the content in the box up to slightly overlap the hero */
.upwardbump{
	margin-top:-20px;
}
/* The style for the footer */
.footer-distributed {
  background-color: #212529;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: normal 16px sans-serif;
  padding: 45px 50px;
}

.footer-distributed .footer-left p {
  color: #8f9296;
  font-size: 14px;
  margin: 0;
}
/* Footer links */

.footer-distributed p.footer-links {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 10px;
  padding: 0;
  transition: ease .25s;
}

.footer-distributed p.footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
  transition: ease .25s;
}

.footer-distributed .footer-links a:before {
  content: "·";
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

.footer-distributed .footer-right {
  float: right;
  margin-top: 6px;
  max-width: 180px;
}

.footer-distributed .footer-right a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: #212529;
  border-radius: 2px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-left: 3px;
  transition:all .25s;
}

.footer-distributed .footer-right a:hover{transform:scale(1.1); -webkit-transform:scale(1.1);}

.footer-distributed p.footer-links a:hover{text-decoration:underline;}

/* Media Queries */

@media (max-width: 600px) {
  .footer-distributed .footer-left, .footer-distributed .footer-right {
    text-align: center;
  }
  .footer-distributed .footer-right {
    float: none;
    margin: 0 auto 20px;
  }
  .footer-distributed .footer-left p.footer-links {
    line-height: 1.8;
  }
}
              
            
!

JS

              
                new Vue({
  el: "#app",
  data() {
    return {
      featimgposts: null,
      featimages: []
    };
  },
  mounted() {
    // Get the featured image posts from the blogger site
    // this requires an API key
   axios.get("https://www.googleapis.com/blogger/v3/blogs/3412726727067752443/posts/search?q=label:fp&key=AIzaSyDMDCj74G_V9RzYRUXvQLsK2AWcob7FsKw")
      .then(response=> (this.featimgposts = response.data.items));
  },
  watch: {
    // Watch for the value of featimgposts to change
    'featimgposts': function() {
      // Track the array size for UI purposes
      this.arraySize = this.featimgposts.length;
      // Once featimgposts gets updated, this gets executed 
      for (var i = 0; i < this.arraySize; i++) {
        var x = this.featimgposts[i].content.indexOf("href=\"");
        var y = this.featimgposts[i].content.indexOf("\"",x+6);
        this.featimages.push(this.featimgposts[i].content.substring(x+6,y));
      }
    }
  }
  
});
              
            
!
999px

Console