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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="columns">
  <div class="item">
    <h1>Johnny Depp</h1>
    <img src="https://4.bp.blogspot.com/-2sRGIms4cN8/Uic22sSPJ0I/AAAAAAABTvg/8NTtu6qlpIw/s1600/fotos-de-retratos-pintados-a-l%C3%A1piz.jpg">
    <p>John Christopher "Johnny" Depp II (born June 9, 1963) is an American actor, film producer, and musician. He has won the Golden Globe Award and Screen Actors Guild award for Best Actor. He rose to prominence on the 1980s television series 21 Jump Street, becoming a teen idol.</p>
  </div>
  <div class="item">
    <h1>Jack Nicholson</h1>
    <img src="https://4.bp.blogspot.com/-7XEtqPYJmzc/Uic25OrqYTI/AAAAAAABTv4/wd1movKqZwA/s1600/retratos-hombres-a-l%C3%A1piz.jpg"><p>John Joseph "Jack" Nicholson (born April 22, 1937) is an American actor, film director, producer, and writer. Throughout his career, Nicholson has portrayed unique and challenging roles, many of which include dark portrayals of neurotic and psychopathic characters. Nicholson's 12 Oscar nominations make him the most nominated male actor in the history of the Academy Awards.</p><p>Nicholson has won two Academy Award for Best Actor, one for One Flew Over the Cuckoo's Nest and the other for As Good as It Gets. He also won the Academy Award for Best Supporting Actor for Terms of Endearment. Nicholson is tied with Walter Brennan and Daniel Day-Lewis as one of three male actors to win three Academy Awards. He is well known for playing Frank Costello in The Departed, Jack Torrance in The Shining and the Joker in 1989's Batman.</p>
  </div>
  <div class="item">
    <h1>Samuel L. Jackson</h1>
    <img src="https://2.bp.blogspot.com/-u81LAoSWVPg/Uic28Gr32SI/AAAAAAABTwU/qn5PtHDJBhE/s1600/retratos-pintados-a-l%C3%A1piz.jpg">
    <p>Samuel Leroy Jackson (born December 21, 1948) is an American actor and film producer. He achieved prominence and critical acclaim in the early 1990s with films such as Jungle Fever (1991), Patriot Games (1992), Amos & Andrew (1993), True Romance (1993) and Jurassic Park (1993). He is a highly prolific actor, appearing in over 100 films, but best known for his frequent collaborations with director Quentin Tarantino, Pulp Fiction (1994), Die Hard with a Vengeance (1995), Jackie Brown (1997), Unbreakable (2000), Shaft (2000), The 51st State (2001), The Incredibles (2004), Black Snake Moan (2006), Snakes on a Plane (2006), the Star Wars prequel trilogy (1999–2005), and his role as Nick Fury in the Marvel Cinematic Universe (2008–present).</p>
  </div>
  <div class="item">
    <h1>Will Smith</h1>
    <img src="https://3.bp.blogspot.com/-SmZ-43SsnZU/Uic22oWNiSI/AAAAAAABTvk/iWLNPTd4L5o/s1600/retratos-celebridades-pintados-a-l%C3%A1piz.jpg">
    <p>Willard Carroll "Will" Smith, Jr. (born September 25, 1968) is an American actor, producer, and rapper. He has enjoyed success in television, film, and music. In April 2007, Newsweek called him the most powerful actor in Hollywood. Smith has been nominated for four Golden Globe Awards, two Academy Awards, and has won four Grammy Awards.</p>
  </div>
  <div class="item">
    <h1>Leonardo DiCaprio</h1>
    <img src="https://2.bp.blogspot.com/-Zj8MCwPo2EE/Uic25cMS2xI/AAAAAAABTv8/7toZC3vdR5s/s1600/retratos-famosos-pintados-a-l%C3%A1piz.jpg">
    <p>Leonardo Wilhelm DiCaprio (/dɨˈkæpri.oʊ/) (born November 11, 1974) is an American actor and film producer. He has been nominated for five Academy Awards and ten Golden Globe Awards including winning Golden Globes for Best Actor in a Drama for The Aviator (2004) and the Best Actor in a Musical or Comedy for The Wolf of Wall Street (2013). He has also been nominated by the Screen Actors Guild, Satellite Awards, and the British Academy of Film and Television Arts.</p>
  </div>
  <div class="item">
    <h1>Rowan Atkinson</h1>
    <img src="https://3.bp.blogspot.com/-pkdEF2cpasc/Uic25_1r2_I/AAAAAAABTwI/97G4niF6rs4/s1600/retratos-masculinos-a-l%C3%A1piz.jpg">
    <p>Rowan Sebastian Atkinson, CBE (born 6 January 1955) is an English actor, comedian, and screenwriter who is best known for his work on the sitcoms Mr. Bean and Blackadder. Atkinson first came to prominence in the sketch comedy show Not the Nine O'Clock News (1979–82), and via his participation in The Secret Policeman's Balls from 1979. His other work includes the sitcom The Thin Blue Line (1995–96).</p>
  </div>
  <div class="item"> 
    <h1>Morgan Freeman</h1>
    <img src="https://2.bp.blogspot.com/-XGBbU4ohsz4/Uic270XL37I/AAAAAAABTwQ/13ZpnThAzLs/s1600/retratos-pintados-con-l%C3%A1piz.jpg">
    <p>Morgan Freeman (born June 1, 1937) is an American actor, film director, and narrator. Freeman has received Academy Award nominations for his performances in Street Smart, Driving Miss Daisy, The Shawshank Redemption and Invictus, and won the Best Supporting Actor Oscar in 2005 for Million Dollar Baby. He has also won a Golden Globe Award and a Screen Actors Guild Award. Freeman has appeared in many other box office hits, including Unforgiven, Glory, Robin Hood: Prince of Thieves, Seven, Deep Impact, The Sum of All Fears, Bruce Almighty, Along Came a Spider, The Dark Knight trilogy, March of the Penguins and The Lego Movie. He is known for his distinctively smooth, deep voice. He got his first break as part of the cast of The Electric Company.</p>
  </div>
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Raleway:100,200);
body{
  width:100%;
  font-family:Raleway;
}
.columns{
  -webkit-column-width: 300px; /* Chrome, Safari, Opera */
  -moz-column-width: 300px; /* Firefox */
  column-width: 300px;
  -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
  -moz-column-gap: 20px; /* Firefox */
  column-gap: 20px;
  
  max-width: 950px;
  margin: 0px auto;
}
.item{
  text-align:center;
  background-color:#fff;
  border: 1px solid #ccc;
  box-shadow: 0 1px 2px rgba(22, 22, 22, 0.6);
  margin: 10px 0px;
  padding: 10px;
  display: inline-block;
}
.item h1{
  font-weight:100;
}
.item img{
  width: 100%;
  height: auto;
  display:block;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console