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 id="main">
  
    <h1 id="title">Ezio Auditore da Firenze</h1>
    <div id="subtitle">The Assassin who changed the fate of the world</div>
    
    <div id="img-div">
      <figure>
        <div class="container"><img src="https://wallpaperstock.net/wallpapers/thumbs1/27552hd.jpg" alt="Ezio from Assassin's creed brotherhood" id="image" class="filter"/>
        </div>
        
        <figcaption id="img-caption">Ezio shooting an enemy while holing a dagger on a templar's throat who is disguised as a doc </figcaption>
      </figure>
    </div>
    
    <div id="tribute-info">
      
      <ul>
        <h3 id="trbute-heading">Timeline of Ezio's journey:</h3>
        <li><strong>1452:</strong> Ezio Auditore was borned. A member of the House of Auditore, Ezio remained unaware of his Assassin heritage until the age of 17, when he witnessed the hanging of his father and two brothers, Federico and Petruccio.
        <li><strong>1477:</strong> Ezio Auditore and his mother Maria and sister Claudia left Florence and moved to Monteriggioni to live with their uncle Mario in the Villa Auditore.</li>
        <li><strong>1478:</strong> Vieri de' Pazzi, a Templar, was killed by his childhood rival Ezio Auditore da Firenze in San Gimignano in Tuscany for conspiring with the Templars</li>
        <li><strong>1479:</strong> Francesco Salviati, a Pazzi conspirator, was killed by Ezio Auditore da Firenze in his villa near San Gimignano</li>
        <li><strong>1480:</strong>  Jacopo de' Pazzi was killed by Ezio Auditore da Firenze, after he was mortally wounded by Grand Master Rodrigo Borgia and Emilio Barbarigo during a Templar meeting in the Antico Teatro Romano for his failure during the Pazzi Conspiracy.</li>
        <li><strong>1481:</strong> Ezio Auditore da Firenze and Leonardo da Vinci sailed to Venice, with aid from Caterina Sforza, where Ezio would form an alliance with the local thieves guild.</li>
        <li><strong>1485:</strong> Emilio Barbarigo, leader of the Venetian merchant guild and Templar, was killed by Ezio Auditore da Firenze with aid from members of the local thieves guild, namely their leader Antonio de Magianis, Rosa and Ugo.</li>

        <li><strong>1511:</strong> Ezio Auditore da Firenze arrived in Constantinople and became familiarized with the Ottoman Assassins, led by Yusuf Tazim, and their struggle against the Byzantine Templars.</li>
        <li><strong>1512:</strong> Ezio Auditore da Firenze unlocked the library of Altaïr Ibn-La'Ahad in Masyaf, though he decided to leave the Apple of Eden locked away. Alongside Desmond Miles, in 2012, Ezio witnessed a Precursor message about the Toba catastrophe.</li>
        <li><strong>1513:</strong> Ezio Auditore da Firenze announced his impending retirement as Mentor of the Italian Brotherhood of Assassins, and declared his favored successor to be Lodovico Ariosto.</li>
        <li><strong>1515:</strong> The Mentor Ezio Auditore da Firenze placed the English Assassin Hiram Stoddard in charge of a mission to take down a Templar plot, accompanied by Giovanni Borgia, based on intel delivered by Michelangelo.</li>
        <li><strong>1516:</strong> The rogue Assassin Hiram Stoddard attempted to steal an Apple of Eden from a remote Assassin hideout in Greece, before being stopped and overpowered by Giovanni Borgia.</li>
        <li><strong>1519:</strong> Leonardo da Vinci passed away in the Clos Lucé in Amboise, France, with his friend Ezio Auditore da Firenze and Niccolò Machiavelli at his side</li>
        <li><strong>1524:</strong> Ezio Auditore da Firenze died in Florence, as a result of the battle wounds he received during his career as an Assassin, while visiting the city with his wife Sofia and daughter Flavia.</li>
      </ul>
    </div>
    <br>
    <div class="quote">
      <q><em>To say that nothing is true is to realize that the foundations of society are fragile and that we must be the shepherds of our civilization.
To say that everything is permitted is to understand that we are the architects of our actions, and that we must live with their consequences, whether glorious of tragic.</em></q>
      <p><em>-- Ezio Auditore da Firenze</em></p>
    </div>
    <br>
    <div id="extras">If you want to know more about The Assassins Ezio Auditore da Firenze, head over to <a href="http://assassinscreed.wikia.com/wiki/Ezio_Auditore_da_Firenze" target="_blank" id="tribute-link">Assassin's Creed wikia</a>.</div>
</div>

              
            
!

CSS

              
                body{
  font-family: "Trebuchet MS", helvetica;
  font-size: 100%;
  color: #333;
  text-align: center;
  margin: 0;
  padding: 0;
}

#main{
  width: auto;
  height: auto;
  margin: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: hsl(79, 10%, 92%);
}

#title{
  margin: auto;
  padding-top: 40px;
  text-align: center;
}

#subtitle{
  margin: auto;
  padding-top: 20px;
  text-align: center;
  font-size: 15px;
}

#img-div{
  width: 100%;
  margin: 30px auto;
  background-color: white; 
}

figure{
  margin: 5px;
  padding-top: 15px;
}

.container{
  max-width: 1040px;
  height: auto;
  margin: auto;
  overflow: hidden;
  border: 1px solid #f7ffe6;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

#image{
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  transition: transform 0.8s;
}

#image:hover{
  transform: scale(1.05);
}

#img-caption{
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.filter{
  filter: grayscale(80%);
}

#tribute-heading{
  margin-top: 50px;
  font-size: 1.1em;
  text-align: left;
}

#tribute-info{
  margin: 0 auto;
  min-width: 50%;
  max-width: 800px;
  padding-bottom: 18px;
}
 
ul{
  margin: 0 auto;
  text-align: justify;
  max-width: 600px;
}

li{
  padding: 6px;
  margin-right: 15px;
}

.quote{
  max-width: 1040px;
  margin: auto;
  padding-left: 5px;
  background-color: #fff;
  border-left-style: solid;
  border-radius: 5px;
  border-left-width: 8px;
  border-left-color: hsl(60, 19%, 85%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  transition: transform 0.9s;
}

.quote p{
  text-align: right;
  padding-right: 20px;
}

#tribute-link, #extras{
  font-weight: 600;
}
              
            
!

JS

              
                
              
            
!
999px

Console