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


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.


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.


                <div class="card">
  <div class="col col1">
    <div class="image-container">
      <img src="" alt="profile image" />
    <h3>Oscar Gonzalez</h3>
    <p class="position">Sr. UX Designer</p>
  <div class="col col2">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua tempor incididunt ut labore et dolore. </p>
     <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqui nostrud exercitation ullamco.</p>


                @import url(',100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i');

html {font-family: 'IBM Plex Mono', monospace;}

body, p, h1 {
  padding: 0;
  margin: 0;

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #f4f4f4;
.card {
  display: flex;
  background: white;
  max-height: 374px;
  max-width: 596px;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .1);

  // height: 374px;
  // width: 596px;

.image-container {
  border: 10px solid #5252ED;
  height: 162px;
  width: 162px;
  position: relative;

img {
  object-fit: cover;
  border-radius: 50%;
  height: 189px;
  width: 189px;
  position: absolute;
  top: -44px;
  left: -38px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .25)

h3 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 24px;
  max-width: 181px;
  line-height: 26px;
  margin: 24px 0 19px 0;

.position {
  color: #5252ED;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;

p {
  font-weight: bold;
  letter-spacing: 2px;

.col2 {
  padding-left: 44px;

.col2 p {
  width: 100%;

.col2 p:first-child {
  margin-bottom: 24px;