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.

  <link href="https://fonts.googleapis.com/css?family=Aclonica" rel="stylesheet">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
 <link href="https://fonts.googleapis.com/css?family=Yellowtail" rel="stylesheet">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<div class = "div1">
  <h1 class="animated rotateInUpLeft">Randome Quote Generator</h1>
<p id="p1" class="animated rotateInUpRight p">“The Future Belongs To The Competent. Get Good, Get Better, Be The Best!”- Brian Tracy</p>
<div class="div2">
  <button class="btn btn-default btn-md active center-block animated rollIn">Next Quote</button>

<div id="copy"><p>&copy; Bharath Bheemireddy<p>
.div1 {
  padding: 20px 20px 50px 20px;
  font-family: 'Aclonica', sans-serif;
h1 {
  text-shadow: 2px 2px hsl(240,0%,50%) ;
  font-size : 50px;
  text-align: center;
  font-family: 'Aclonica', sans-serif; 
  width: 50px 50px 50px 50px;
  padding: 50px 50px 50px 50px;
  text-align: center;
   color: white;
  font-family: 'Yellowtail', cursive;
  font-size: 25px;
  background: linear-gradient(45deg,    #f00 ,#0ff );
  box-shadow: 4px 4px 4px 2px    rgba(0,0,0,0.2);
.div2 {
padding: 30px 20px 20px 20px;
#copy {
  text-align: center;
  padding: 100px 10px 0px 10px;
  font-family: 'Yellowtail', cursive;
  text-shadow: 0px 2px rgba(0,0,0,0.2);
              var arr = ['The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking. -Albert Einstein','Change is inevitable. Change is constant. -Benjamin Disraeli','Any change, even a change for the better, is always accompanied by drawbacks and discomforts. -Arnold Bennett','When you are finished changing, you are finished. -Benjamin Franklin','If you dont like change, you will like irrelevance even less. -General Eric Shinseki','Change before you have to. -Jack Welch','People can cry much easier than they can change. -James Baldwin','Be the change that you wish to see in the world. -Mahatma Gandhi','I alone cannot change the world, but I can cast a stone across the waters to create many ripples. -Mother Teresa','Change your thoughts and you change your world. -Norman Vincent Peale','People dont resist change. They resist being changed. -Peter Senge'];
           $('#p1').html(arr[Math.floor(Math.random() * arr.length)]).addClass('p');
🕑 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.