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


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


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.


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.


<div class="container">
	<div class="row">
		<div class="col-sm-6 col-sm-offset-3">
			<div class="page-wrapper">
				<div class="site-title">
				<img src="site-title.png">
					<!-- <div id="random">Random</div>
					<div id="quotes">Quotes</div>
					<div id="on-design">on design</div> -->
				<div class="quote-section">
					<p id="quote">It isn&#8217;t a question of enhancement through design. Whether an editor realizes it or not, design is part of what he does every time he prints the paper.</p>
					<div id="title">~ Louis Silverstein</div>
					<div class="twitter"><a id="tweet" href=""><i class="fa fa-twitter fa-lg"> Tweet this</i></a><br></div>
					<button>New Quote</button>


<div class="subtitle">
				<div>A project for</div>


                body {
	background-image: url(crissxcross.png);

.page-wrapper {
	border: 1px #ccc solid;
	border-radius: 10px;
	text-align: center;
	margin-top: 10px;
	background-color: white;
	box-shadow: 0px 0px 40px 40px #344146;

/* ================  SITE TITLE ================ */

.site-title {
	margin-top: 30px;
	margin-bottom: 30px;

img {
	width: 70%;
	height: auto;

#random {
	font-family: "Unica One", sans-serif;
	font-size: 50px;
	margin-bottom: -40px;
	margin-left: 110px;
	text-align: left;

#quotes {
	font-family: "Julius Sans One", sans-serif;
	font-size: 90px;

#on-design {
	font-family: "Sacramento", cursive;
	font-size: 50px;
	margin-left: 205px;
	margin-top: -50px;

/* ================  QUOTE SECTION ================ */
.quote-section {
	margin-top: 50px;
	padding: 0 20px 20px 20px;

button {
	background-color: #BADA55; 
	padding: 10px 20px;
	color: white !important;
	font-family: "Julius Sans One", sans-serif !important;
	margin-top: 30px !important;

#quote, #title {
	font-family: "Raleway", sans-serif;
	font-size: 20px;
	color: #3E4651;

.twitter {
	margin-top: 5px;


                $(document).ready(function() {

    $.getJSON ("[orderby]=rand&filter[posts_per_page]=1&callback=" + $.now(), function(data){
       var par = $('p').html(data[0].content);
       var text = (par[0].innerText);
       $('#tweet').attr('href', '' + text + ' ~ ' + data[0].title + ' @f_graciolli').attr('target', '_blank');