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">
<link href="https://fonts.googleapis.com/css?family=Merriweather|Roboto+Slab&display=swap" rel="stylesheet">
  
  <header id="title">
    
    <h1><strong>Gustav Klimt</strong></h1>
    <p>an Austrian symbolist painter and one of the most prominent members of the Vienna Secession movement</p>
    
  </header>
  
<div id="img-div">
    <img id="image" src="https://static.posters.cz/image/750/laminas/gustav-klimt-il-bacio-i72988.jpg" alt="The Kiss in Belvedere, created in 1907-1908">
  <p id="img-caption"><strong>Kiss in Belvedere, created in 1907-1908</strong></p>
  </div>
   
  <div id="tribute-info"><strong>Life and work</strong>
   
    <article>
    
      <div id="tribute-link" a href="https://en.wikipedia.org/wiki/Gustav_Klimt" target="_blank">Gustav Klimt</a> was born in Baumgarten, near Vienna in Austria-Hungary, the second of seven children—three boys and four girls. His mother, Anna Klimt (née Finster), had an unrealized ambition to be a musical performer. His father, Ernst Klimt the Elder, formerly from Bohemia, was a gold engraver. All three of their sons displayed artistic talent early on. Klimt's younger brothers were Ernst Klimt and Georg Klimt.
    
    <p> Klimt lived in poverty while attending the Vienna Kunstgewerbeschule, a school of applied arts and crafts, now the University of Applied Arts Vienna, where he studied architectural painting from 1876 until 1883. He revered Vienna's foremost history painter of the time, Hans Makart. Klimt readily accepted the principles of a conservative training; his early work may be classified as academic. In 1877 his brother, Ernst, who, like his father, would become an engraver, also enrolled in the school. The two brothers and their friend, Franz Matsch, began working together and by 1880 they had received numerous commissions as a team that they called the "Company of Artists". They also helped their teacher in painting murals in the Kunsthistorisches Museum in Vienna. Klimt began his professional career painting interior murals and ceilings in large public buildings on the Ringstraße, including a successful series of "Allegories and Emblems".</p>
    
   <p> In 1888 Klimt received the Golden Order of Merit from Emperor Franz Josef I of Austria for his contributions to murals painted in the Burgtheater in Vienna. He also became an honorary member of the University of Munich and the University of Vienna. In 1892 Klimt's father and brother Ernst both died, and he had to assume financial responsibility for his father's and brother's families. The tragedies also affected his artistic vision and soon he would move towards a new personal style. Characteristic of his style at the end of the 19th century is the inclusion of Nuda Veritas (naked truth) as a symbolic figure in some of his works, including Ancient Greece and Egypt (1891), Pallas Athene (1898) and Nuda Veritas (1899).[6][7] Historians believe that Klimt with the nuda veritas denounced both the policy of the Habsburgs and Austrian society, which ignored all political and social problems of that time. In the early 1890s Klimt met Austrian fashion designer Emilie Louise Flöge (a sibling of his sister-in-law) who was to be his companion until the end of his life. His painting, The Kiss (1907–08), is thought to be an image of them as lovers. He designed many costumes that she produced and modeled in his works.</p>
  </div>
    </article>
  <div id="footer">
    <blockquote><strong>"The Kiss by Gustav Klimt surpasses expectations," unlike that tiny and underwhelming Mona Lisa.</strong><cite>-journalist Adrian Brijbassi</cite></blockquote>
    </main>
  <footer>
    <p>This content was copied from <a href="https://en.wikipedia.org/wiki/Gustav_Klimt">Wikipedia</a> You can find more information about him. </p>
  </footer>
</div>
    
  
              
            
!

CSS

              
                #main {
  background-color: #FFD600;
  font-family: 'Merriweather', serif;
  max-width: 1600px;
  margin: auto;
  box-shadow: 7px 7px 5px 0px #dce2ed;
}

#title {
  text-align: center;
  padding: 15px 15px;
}
#img-div {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  grid-gap: rem;
  justify-self: center;
}
#image {
  width: 100%;
  display: block;
  margin: auto;
}
img {
  max-width: 550px;
  border-radius: 1%;
 
}
#img-caption {
  text-align: center;
  ;
  padding: 5px;
 
}
#tribute-info {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  grid-gap: 1rem;
  background: #FFD600;
  background-image: linear-gradient(#FFD600, #FFF8E1);
  padding: 5px;
  }

#blockquote {
  width: 50%;
  margin: auto;
  padding: 5px;
}
footer {
  font-size: 15px;
  font-family: Raleway, sans-serif;
  text-align: center;
  padding: 2px;
 
}
              
            
!

JS

              
                
              
            
!
999px

Console