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 class="jumbotron">
    <div id="MyName" class="text-center">
      <h1>Magnus Rydberg</h1>
      <p>Trying not to break the Internet today</p>
    </div>
  </div>

<div class="container">
  <h3>Popover Example</h3>
  <a href="#" data-toggle="popover" title="Popover Header" data-content="Some content inside the Milan simencka tribute ">Toggle popover</a>
</div>


<div class="container-fluid">
  <div class="row vertical-align">
    <div class="col-xs-5">
      <h1 class="text-center"><small>The</small>why</h1>
      <p>User story User story.User storyUser storyUser storyUser storyUser storywhat about one image with clickable points that trigger a popover</p>
      <p>User story User story.User storyUser storyUser storyUser storyUser storywhat about one image with clickable points that trigger a popover</p>
            <p>User story User story.User storyUser storyUser storyUser storyUser storywhat about one image with clickable points that trigger a popover</p>
    </div>
    <div class="col-xs-2 arrowr" >
      <i class="fa fa-long-arrow-right"></i>
    </div>
    
    <div class="col-xs-5">
      <h1 class="text-center"><small>The</small>what</h1>
      <p>Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example  !</p>
      <p>Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example  !</p>

    </div>

  </div>
</div>



              
            
!

CSS

              
                /*Grayscale Palette from darkest to lightest

- Black
- DimGrey
- DarkGray
- LightGray
- Gainsboro
- GhostWite

*/

h1 , h2, h3, h4 {
  font-family: 'Allerta Stencil', sans-serif;
  color: black;
}

/*Below I jus used body tag instead of p tag to make Inder default font*/
html {
   /*Possibly best to have background color here*/
}


body {
  background-color: gainsboro;
  font-family: 'Inder', sans-serif;
  font-size: 16px;
 
}

.jumbotron {
  height: 100vh;
}

#MyName {
  position: relative;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.arrowr {
  font-size: 48px;
  background-color: lightgray;
  height:4em;
/*   border:1px solid orange; */
  text-align: center;
  align-items: center;
  justify-content: center;
  
}

.container-fluid {
   border:1px solid red; 
}

div [class*="col"] {
  border: 1px solid orange;
}

/* 
https://codepen.io/hashem/pen/zwJaE 

Things get progressively worse below
*/

.vertical-align {
  display: flex;
  flex-direction: row;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
  display: flex;
  align-items: center;
  justify-content: center; 
}

.vertical-align > [class^="col-"] > div,
.vertical-align > [class*=" col-"] > div {
  /* flex: 1; */
  flex-grow: 1;
}
              
            
!

JS

              
                $(document).ready(function(){
    $('[data-toggle="popover"]').popover();   
});
              
            
!
999px

Console