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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <img style="width:100%" src="https://creators-images.vice.com/content-images/contentimage/no-slug/a869fa71dac5e71d6d63e05ec6736a48.jpg?crop=1xw:0.8637796735905044xh;center,center&resize=1440:*" alt="Nam June Paik">

<h1 class="Serif-font maroon-color">Nam June Paik -The Pioneer of Contemporary Video Art (1932-2006)</h1>
<p> On January 29th 2006, the digital arts world lost one of its progenitors. Nam June Paik was a father of <a href="http://www.visual-arts-cork.com/video-art.htm"> video art</a>. His experimental art practice aimed to humanize technological experience, converging
  music, performance, sculpture, technology, video and installation.</p>
<p>
</p>
<p>Born in Seoul, South Korea, Paik fled the country with his family during the Korean War, 1950-1953. They first settled in Hong Kong, and then Japan, where he received a BA in music and art history from University of Tokyo in 1956. After the university,
  he studied for a year with compose Thrasybulus Georgiades at the University of Munich and for two years with composer Wolfgang Fortner at the International Music College in Freiburg, Germany. At the International Summer Courses for New Music in Darmstadt
  in 1958, he met composer John Cage who later had a significant influence on Paik as he became a major force in the avant-garde through performances.</p>
<p>
</p>
<p>In 1964, Paik moved to New York and developed collaborative relationships with artists such as John Cage, Merce Cunningham, Yoko Ono and Bill Viola.
</p>
<h2 class="serif-font maroon-color">A Legend of Video Art
</h2>
<div class="flex-container">
  <div class="flex-item">
    <img src="https://cdn.theculturetrip.com/images/56-283997-njp-image-9-presentationgoodmorningmrorwell-copy.jpg" alt="Presentation of Good Morning Mr. Orwell, at the Kitchen Gallery, New York, on December 8, 1983">
  </div>
  <div class="flex-item">Presentation of Good Morning Mr. Orwell, at the Kitchen Gallery, New York, on December 8, 1983
  </div>
  <div class="flex-item">
    <img src="https://cdn.theculturetrip.com/images/56-284003-nam-june-paik-topless-copy.jpg" alt="Nam June Paik and Howard Weinberg,&amp;#x201C;Topless Cellist&amp;#x201D; Charlotte Moorman, 1995. Video; color, sound. 29 minutes. Courtesy Electronic Arts Intermix (EAI), New York | Image courtesy Electronic Art Intermix (EAI), New York">
  </div>
  <div class="flex-item">In Opera Sextronique(1967), Moorman wore Paik’s Light Bikini, a bikini outfitted with remote-controlled lights that flashed intermittently during her cello performance. Moorman went topless, and she arrested for indecency.
  </div>
  <div class="flex-item">
    <img src="https://cdn.theculturetrip.com/images/56-284004-nam-june-paik-reclining-buddha-copy.jpg" alt="Nam June Paik, Reclining Buddha, 1994/2002. Two-channel video installation with two 9-inch color monitors, reclining stone Buddha, 41.9 x 52.1 x 30.5 cm. Nam June Paik Estate | &amp;#xA9; Ben Blackwell">
  </div>
  <div class="flex-item"> TV Buddha(1974), one of his most well-known series, playfully commented on the relationship between technology and human spirituality through a closed-circuit video installation and a bronze Buddha sculpture. The Buddha, sitting opposite the TV, would
    be looking at his own image on TV, creating an infinite looping of the image and a sense of introspection and self-reflection.
  </div>
  <div class="flex-item">
    <p> View more <a href="https://www.artsy.net/artist/nam-june-paik">Nam June Paik's works.</a></p>
  </div>
</div>
              
            
!

CSS

              
                body {
  background-color: silver;
}
h1 {
  font-family: Serif;
  color: maroon;
  font-size: 60px;
}
p {
  font-family: monospace;
  color: black;
  font-size: 17px;
}
h2 {
  font-family: serif;
  color: maroon;
  font-size: 30px;
}
.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.flex-item {
  border: 2px solid red;
  padding: 5px;
  width: 45%;
  height: auto;
  order: 2;
  text-align: center;
  font-family: monospace;
  font-size: 15px;
  color: black;
  font-style: italic;
}
img { width: 70%; }
              
            
!

JS

              
                document.getElementsByTagName("h1")[0].style.fontSize = "80px";
              
            
!
999px

Console