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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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="marquee1">
  rihanna - diamond
</div>
<h1 class="marquee">
<pre>
Intro

Shine Bright like a diamond
Shine Bright like a diamond

Verse 1

Find light in the the beautiful sea
I choose to be happy
You and I, You and I
We’re like diamonds in the sky
You’re a shooting star i see
A vision of ecstasy
When you hold me, i’m alive
We’re like diamonds in the sky

PRE

I knew that we’d become one right away
A right away
At first sight I felt the energy of sun rays
I saw the life inside your-eyes

Hook

So shine bright, tonight, You and I
We’re beautiful like diamonds in the sky
Eye to eye, so alive

Hook

So shine bright, tonight, You and I
We’re beautiful like diamonds in the sky
Eye to eye, so alive
We’re beautiful like diamonds in the sky

POST

Shine Bright like a diamond
Shine Bright like a diamond
Shining Bright like a diamond
We’re beautiful like diamonds in the sky
Shine Bright like a diamond
Shine Bright like a diamond
Shining Bright like a diamond
We’re beautiful like diamonds in the sky

Bridge

Shine Bright like a diamond
[ From: http://www.metrolyrics.com/diamonds-lyrics-rihanna.html ]
Shine Bright like a diamond
Shine Bright like a diamond

Hook

So shine bright, tonight, You and I
We’re beautiful like diamonds in the sky
We’re beautiful like diamonds in the sky

POST

Shine Bright like a diamond
Shine Bright like a diamond
Shining Bright like a diamond
We’re beautiful like diamonds in the sky
Shine Bright like a diamond
Shine Bright like a diamond
Shining Bright like a diamond
We’re beautiful like diamonds in the sky

Verse 2

Palms rise to the universe
As we, moonshine and molly
Feel the warmth we’ll never die
We’re like diamonds in the sky
You’re a shooting star i see
A vision of ecstasy
When you hold me, i’m alive
We’re like diamonds in the sky

PRE 2 (half ?)

At first sight I felt the energy of sun rays
I saw the life inside your eyes
Eye to eye, so alive
We’re beautiful like diamonds in the sky

Ad Lib outro

Shining Bright like a diamond
Shining Bright like a diamond
Shine Bright like a diamond
we’re beautiful like diamonds in the sky
Shine Bright like a diamond
Shine Bright like a diamond
Shine Bright like a diamond
AHHHHHHHHHHH
Shine Bright like a diamond
Shine Bright like a diamond
Shine Bright like a diamond


Read more: RIHANNA - DIAMONDS LYRICS </pre>
</h1>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Raleway+Dots);

body{
  background:#333 url(/images/classy_fabric.png);
  width: 600px;
  margin: 0 auto;
  padding: 20px;
}
.marquee1{ 
  background: #000;
  color: lime;
  width: 100%;
  height: 50px;
  position: relative;
  padding: 0 20px;
  font-size: 40px;
  font-weight: bold;
  font-family: 'Raleway Dots', cursive;
  text-transform: uppercase;
  border: outset 7px #ccc;
  overflow: -webkit-marquee;
}

.marquee{ 
  background: #000;
  color: #fff;
  width: 100%;
  height: 300px;
  position: relative;
  padding: 20px;
  font-size: 20px;
  border: outset 7px #ccc;
  overflow: -webkit-marquee;
  -webkit-marquee: up infinite slide;
  -webkit-marquee-speed: 280;
}

pre{
  font-family: "Verdana";
  font-weight: normal;
  text-align: center;
}
              
            
!

JS

              
                
              
            
!
999px

Console