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.

  <link href="" rel="stylesheet">

<div class="container">

<h3 class="subtitle">Try hovering over the card and the button. <i class="em em-dizzy"></i></h3>  
<div class="card-box">
<img src="" alt="therapist-photo" class="photo">
  <div class="info">
  <h3 class="therapist-name">Jessica Le Fleur</h3>
  <div class="title">Licensed Nutritionist</div>
  <div class="languages">English, French</div>
     <div class="divider"></div>
  <div class="location">UTC +02 FR <i class="em em-fr"></i></div>
  <div class="expertise">
    <div class="expertise-area">Weightloss</div>
    <div class="expertise-area">Longevity</div>
    <div class="expertise-area">Plant based</div>
  <div class="price-contact-wrapper">
    <div class="price">USD 80 / hour</div>
    <button class="cta">Visit website</button>
              body {
  font-family: Poppins;
  background-color: #FFF3F0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='1142' height='363' fill='none' xmlns=''%3E%3Cg clip-path='url(%23clip0)'%3E%3Cpath d='M205.619 77.089c9.182 4.885 37.28-5.769 45.504-21.025 8.198-15.352-6.579-29.503-15.69-34.51-9.182-4.886-23.274 3.559-31.497 18.814-8.198 15.353-7.428 31.713 1.683 36.72z' fill='%230500FF' opacity='.8'/%3E%3Cpath d='M98.103 229.761c13.651 50.816 120.019 81.71 170.441 68.166 50.423-13.545 89.728-83.57 76.078-134.386-13.651-50.816-44.092-79.552-108.274-21.006-38.664 35.305-151.895 36.41-138.245 87.226z' fill='%23E0DDFF' opacity='.8'/%3E%3C/g%3E%3Cpath d='M354.394 111.11c3.069-2.378 3.741-13.578-.195-18.713-3.974-5.141-11.054-2.275-14.154.061-3.069 2.379-2.35 8.47 1.586 13.606 3.974 5.141 9.663 7.383 12.763 5.046z' fill='%230500FF' opacity='.8'/%3E%3Cpath d='M166.909 339.382c16.553 8.806 67.206-10.4 82.032-37.902 14.779-27.677-11.861-53.187-28.286-62.215-16.552-8.807-41.956 6.417-56.781 33.919-14.779 27.676-13.389 57.17 3.035 66.198z' fill='%23FECEBF'/%3E%3Cpath d='M1049.81 299.762c43.95-11.776 70.73-103.742 59.04-147.352-11.68-43.611-72.22-77.638-116.169-65.861-43.951 11.776-68.817 38.085-18.223 93.618 30.512 33.455 31.402 131.372 75.352 119.595z' fill='%230500FF'/%3E%3Cpath d='M825.353 249.718c-1.394 10.307 18.349 32.961 35.511 35.378 17.243 2.36 25.386-16.409 26.92-26.692 1.395-10.307-11.415-20.592-28.577-23.009-17.243-2.36-32.319 4.04-33.854 14.323z' fill='%23FECEBF'/%3E%3Cpath d='M1084.34 333.011c-.88 6.502 11.58 20.794 22.41 22.32 10.88 1.488 16.01-10.353 16.98-16.841.88-6.502-7.2-12.99-18.03-14.516-10.88-1.489-20.39 2.549-21.36 9.037z' fill='%230500FF'/%3E%3Cg clip-path='url(%23clip1)'%3E%3Cpath d='M1071.45 176.402c-16.03-16.662-60.03-8.79-92.572 8.71-32.544 17.5-78.294 61.922-54.815 105.562 9.151 17.001 39.294 42.673 103.177-3.097 35.51-25.398 66.37-88.192 44.21-111.175z' fill='%23DDFFEF'/%3E%3C/g%3E%3Cpath d='M991.589 348.159c.923-5.745-9.774-18.465-19.3-20.104-9.487-1.525-14.248 8.826-15.209 14.458-.923 5.745 6.005 11.561 15.605 13.047 9.526 1.638 17.943-1.769 18.904-7.401z' fill='%23DDFFEF'/%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Cpath fill='%23fff' transform='rotate(-15.036 307.893 40.389)' d='M0 0h313v272.1H0z'/%3E%3C/clipPath%3E%3CclipPath id='clip1'%3E%3Cpath fill='%23fff' transform='rotate(160.977 531.856 236.125)' d='M0 0h179.581v140.679H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E ");

.subtitle {
  color: #F19071;
  text-align: center;
  margin: auto;
  margin-top: 150px;

.card-box {
  background-color: white;
  border-left: solid 20px #FECEBF;
  width: 793px;
  height: 264px;
  border-radius: 18px;
  box-shadow: 0px 4.5px 14px rgba(0, 0, 0, 0.1);
  margin: auto;
  margin-top: 50px;
  display: grid;
    "photo info location price"
    "expertise expertise expertise price";
  grid-template-columns: 25% 1fr 1fr 1fr;
  transition: all 0.2s ease-out;
  &:hover {
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.12);
    transform: translatey(-6px);
      transform: rotate(0.03turn);

.photo {
  height: 136px;
  margin-top: 36px;
  margin-left: 40px;
  transition: all 0.3s ease-out;

.info {
  grid-area: info;
  margin-top: 44px;
  margin-left: -8px;

.location {
 margin-top: 68px; 
 color: #0500FF; 
 font-size: 14px;
 font-weight: bold;

h3 {
  margin-bottom: 4px;

.title {
  font-size: 14px;
  font-weight: regular;

.languages {
  font-size: 14px;
  font-weight: regular;
  color: grey;

.divider {
  margin-top: 14px;
  height: 2px;
  width: 140px;
  background-color: #FECEBF;
  grid-area: info;

.expertise {
  grid-area: expertise;
  display: flex;
  margin-left: 48px;
  margin-bottom: 16px;

.expertise-area {
  font-size: 14px;
  line-height: 32px;
  padding-left: 12px;
  padding-right: 12px;
  height: 32px;
  background-color: #FECEBF;
  margin-left: 4px;
  margin-right: 4px;
  border-radius: 100px;

.price-contact-wrapper {
  grid-area: price;
  margin-top: 50%;

.price {
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 18px;
  button {
  background-color: #0500ff;
  color: white;
  border: none;  
  font-size: 14px;
  font-weight: bold;
  border-radius: 25px;
  height: 40px;
  padding-left: 16px;
  padding-right: 16px;
    margin-top: 8px;
    cursor: pointer;
  transition: all 0.3s ease-out;  
    &:hover {
    transform: translatey(-2px);
    color: #FECEBF;
    box-shadow: 0px 4px 4px rgba(254, 206, 191, 0.6);    

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