Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


Auto Save

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.


	<title>Gust of Wind</title>
	<link rel = "stylesheet" type = "text/css" href = "stylesheet.css">


<div id = "container">

	<img class = "gust" src = "" alt = "Gust of WInd"/>
	<img id ="leaf2" img src ="" alt ="second leaf2" width = "200px";>
	<img id ="leaf3" img src ="" alt = "second leaf3" width =200px";>
	<img id ="leaf1" img src ="" alt = "leaf1" width = "150px";>
	<img id ="leaf4" img src ="" alt = "leaf4"  width ="175px";>
	<div id= "header"><h1><span style="font-size: .75em">click</span> <em>Art by Design</em></h1></div>

	<script src=""></script>
<script type = 'text/javascript' src = "script.js"></script>


                body {

	margin: 0 auto;
	background-color: #000000;

h1 {
	font-family: Georgia, serif;
	font-weight: lighter;
	color: white;
	letter-spacing: 10px;
	position: absolute;
	top: 200px;
	padding: 40px;
	width: 50%;
	margin-left: 10%;

#header, h1:hover {
	cursor: pointer; cursor: hand; 
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;  

h1:hover {

div#container img.gust {
	margin: 0;
	max-width: 900px;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

#leaf2 {
	margin: 0;
	position: absolute;
	left: 10%;

#leaf3 {
	margin: 0;
	position: absolute;
	top: 20%;
	right: 10%;

#leaf1 {
	margin: 0;
	top: 20%;
	right: 55%;

#leaf4 {
	margin: 0;
	right: 30%;

@media screen and (max-device-width: 480px) {
   img {
     float: left;
     width: 300px;
  #leaf1, #leaf2, #leaf3, #leaf4 {
    width: 50px;


                $(document).ready(function() {
  $('#leaf2, h1').on("click", function() {
  $('#leaf1,#leaf2,#leaf3, #leaf4, h1').toggle('slow');


    $('img' ).animate({ top: '100px'}, 1000 );