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.


  <div class="card-wrapper">
    <div class="card">
      <div class="image-wrapper">
        <a class="image-link" href="">
<img src='' alt='Beautiful woman face by Oleg Gekman on'>
      <div class="text-box-wrapper">
      <div class="text-box">
        <h1 class="heading">
          Fashion Week Styles

        <p  class="text">
          Let's get this straight out of the way. Fashion in 2018 has been really hot. From Gucci sandals to Fendi handbags, we saw all of our favorite brands . .
      <div class="button-wrapper">
          <a class="button" href="">
            Read More


                @import url(;

* {
  margin: 0;
  padding: 0;

.card-wrapper {
  padding: 2%;

.card-wrapper .card{
  margin: 0 auto;

.card {
  position relative;
  max-width: 300px;
  background-color: #FEEFDE;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 10px;
  box-shadow: 1px 2px 8px rgba(100, 100, 100, 0.1);

.image-wrapper {
  background-color: red;
  width: auto;
  height: 200px;
  overflow: hidden;

img {
  max-width: 100%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;

img:hover {
 -webkit-transform: scale3d(1.2, 1.2, 1);
  transform: scale3d(1.2, 1.2, 1);
  transition: all 1s linear;

.text-box-wrapper {
 padding: 20px 

.heading {
  font-family: 'Playfair-Display';
  font-size: 36px;
  font-weight: 500;
  line-height: 1;

.heading::after {
  content: '';
  display: block;
  margin-top: 0.5em;
  width: 30px;
  height: 5px;
  background-color: black;

.text {
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: 12px;
  padding-top: 10px;
  line-height: 2;

.button {
  display: inline-block;
  margin-left: 10px;
  padding: 5px 10px;
  font-family: 'Poppins';
  font-size: 12px;
  font-weight: 700;
  color: #8C5450;
  text-decoration: none;

.button:hover {
  color: black;

  transition: linear 0.2s;