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.

              <link href="https://fonts.googleapis.com/css?family=Julius Sans One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet">
  <div id="app">
    <div id="title-bg">
      <div><h1 id="site-title">Site Title Here</h1></div>
      <!-- Top Navigation Menu -->
      <ul class="topnav" id="myTopnav">
      <li><a href="#home">Home</a></li>
      <li><a href="#blog">Blog</a></li>
      <li><a href="#contact">Contact</a>
      <li class="icon">
      <a href="javascript:void(0);" onclick="myFunction()">&#9776;</a>
    <!-- Blog Posts -->
    <div id="blog-border" style="box-shadow: 0px 2px 25px rgba(0, 0, 0, .25);">
      <div class="container">
        <ul class="list-group">
            <li v-for="(post,index) in posts" class="list-group-item">
               <div><br>Posted By: {{post.username}}
              <div class="right-align">
                <!--Not sure what kind of functionality you have for Editing posts-->  
                  <button @click="editPost(post._id, index)" class="btn btn-info btn-sm">
                  <button @click="deletePost(post._id, index)" class="btn btn-warning btn-sm">

    background: #d8d8d8;
    font-family: 'Julius Sans One', serif;
  background-image: url('https://static.vecteezy.com/system/resources/previews/000/092/552/original/free-abstract-background-vector.jpg');
  background-size: cover;
  text-align: center;
  padding-top: 7%;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 50px;
  color: white;
  margin-bottom: 10px;
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #1D1D1D;
/* Float the list items side by side */
ul.topnav li {
  display: inline-block;
/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    padding: 14px 25px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 30px;
/* Change background color of links on hover */
ul.topnav li a:hover {
  background-color: #111;
/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {
  display: none;
/* When the screen is less than 680 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
@media screen and (max-width:680px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;

  background-color: #cccccc;
  width: 45%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  border-radius: 8px;
  padding-top: 15px;
  padding-bottom: 15px ;
  margin: 5px;
  width: 70px !important;

              var parent = new Vue({
  el: '#app',
  data: {
                posts: [
                  "_id": "58c6e260314756368083e6d0",
                  "postTitle": "Stevens Savage",
                  "postContent": "Minim ex irure ea deserunt eiusmod dolore laborum occaecat quis do. Veniam labore pariatur excepteur duis officia cupidatat laboris duis qui amet amet. Laboris cillum mollit anim cillum.\r\n",
                  "createdOn": "2014-08-09T09:09:06 +07:00",
                  "username": "Patterson"
                  "_id": "58c6e2608c39013dfad86ff7",
                  "postTitle": "Howard Benjamin",
                  "postContent": "Labore ea veniam sint do do exercitation. Mollit sint magna irure dolor consequat do ad voluptate exercitation dolor occaecat laboris commodo. Occaecat proident esse consequat sint sit voluptate laborum pariatur. Cillum in officia occaecat enim Lorem elit elit culpa minim consectetur deserunt sint.\r\n",
                  "createdOn": "2014-12-02T11:16:56 +08:00",
                  "username": "Allen"
                  "_id": "58c6e2603c78901b07582eb7",
                  "postTitle": "Ida Shelton",
                  "postContent": "Qui quis consectetur officia enim laborum. Commodo esse anim aliquip anim cupidatat est amet eiusmod. Labore exercitation adipisicing et velit ut irure deserunt laboris culpa voluptate occaecat duis dolor incididunt.\r\n",
                  "createdOn": "2016-02-29T10:32:12 +08:00",
                  "username": "Fowler"
                  "_id": "58c6e2603997dad037c71d86",
                  "postTitle": "Sweet Carroll",
                  "postContent": "Labore eiusmod ut cupidatat deserunt veniam ea minim sunt et ea ut fugiat non. Adipisicing aliqua amet do laborum ut nisi nulla. Eu in mollit mollit velit aute non aute.\r\n",
                  "createdOn": "2016-12-26T04:17:12 +08:00",
                  "username": "Steele"
                  "_id": "58c6e260f91314a19615f97d",
                  "postTitle": "Whitley Landry",
                  "postContent": "Minim aliqua aute cupidatat do sint elit ipsum consectetur in elit qui Lorem. Occaecat duis ut incididunt adipisicing commodo mollit dolore. Labore voluptate nulla pariatur dolore pariatur eiusmod aliquip. Irure anim ipsum Lorem veniam occaecat.\r\n",
                  "createdOn": "2015-04-29T05:28:56 +07:00",
                  "username": "Beach"
                  "_id": "58c6e260c90bde93e360fa45",
                  "postTitle": "Guerrero Saunders",
                  "postContent": "Lorem enim velit voluptate do. Dolore ullamco ipsum adipisicing sint. Amet aliquip occaecat occaecat laboris eiusmod labore fugiat nulla veniam commodo sit ullamco fugiat excepteur. Sit minim ad cillum eiusmod est est enim. Aute dolor mollit officia enim ad. Proident consectetur nisi non est cupidatat ullamco velit commodo ullamco ea eu labore deserunt.\r\n",
                  "createdOn": "2015-06-18T09:46:36 +07:00",
                  "username": "Cunningham"
Loading ..................