css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

	<div class="container row">
	<div class="quotebox col-md-8 col-md-offset-6">
		<div class="quoteicon col-md-8">
      <div class="col-md-6">
		<i class="fa fa-4x fa-quote-left" aria-hidden="true"></i>
		<div class="quotetext col-md-11 h2">
			Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.
		<div class="quoteauthor col-md-3 col-md-offset-7 h4">
			Gall Anonim

		<div id="next" class="social col-md-3 col-md-offset-2">
      <a id="next"><i class="fa fa-4x fa-repeat" aria-hidden="true"></i></a>
    <div class="col-md-1 social">
			 <i class="fa fa-4x fa-twitter-square" aria-hidden="true"></i>
              body {
	display: flex-inline;
	margin-top:  -10%;
	margin-bottom: 60px;
	background-image:  url("https://static.pexels.com/photos/248797/pexels-photo-248797.jpeg");
  height: 100%;
.quotebox {
	background-color: white;
	border-radius: 20px;
	padding: 20% 20px 20px 20px;
	-webkit-box-shadow: -7px 10px 5px -3px rgba(0,0,0,0.30);
-moz-box-shadow: -7px 10px 5px -3px rgba(0,0,0,0.30);
box-shadow: -7px 10px 5px -3px rgba(0,0,0,0.30);
  height:  600px;

.quoteauthor {
	text-align: right;
  align-items: right;
  font-family: light;
  font-size: 2em;
  font-style: italic;

.quotetext {
  margin-left: 5%; 

.social {
 position: absolute;
  bottom: 20px;

var quotes = [["Life isn’t about getting and having, it’s about giving and being.", "Kevin Kruse"],
["Whatever the mind of man can conceive and believe, it can achieve.", "Napoleon Hill"],
["Strive not to be a success, but rather to be of value.", "Albert Einstein"],["Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.", "Robert Frost"],
["I attribute my success to this: I never gave or took any excuse.", "Florence Nightingale"],
["You miss 100% of the shots you don’t take.", "Wayne Gretzky"],
["I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.", "Michael Jordan"],
["The most difficult thing is the decision to act, the rest is merely tenacity.", "Amelia Earhart"],
["Every strike brings me closer to the next home run.", "Babe Ruth"],
["Definiteness of purpose is the starting point of all achievement.", "W. Clement Stone"],
["We must balance conspicuous consumption with conscious capitalism.", "Kevin Kruse"],
["Life is what happens to you while you’re busy making other plans.", "John Lennon"],
["We become what we think about.", "Earl Nightingale"]];

  var count = Math.floor(Math.random() * 12 );
🕑 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.
Loading ..................