Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <!-- <h1>Our Team</h1> -->
<div class="container">
  <div class="photos-detail">
    <img src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixid=MXwxMjA3fDB8MHxzZWFyY2h8OHx8aHVtYW58ZW58MHx8MHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="photo">
    <div class="user-detail">
      <h2 class="name">Leyla Rzayeva</h2>
      <p class="profession">Frontend Developer</p>
     <div class="social-medias">
        <a href="#"><i class="fab fa-instagram"></i></a>
        <a href="#"><i class="fab fa-twitter"></i></a>
        <a href="#"><i class="fab fa-facebook"></i></a>
        <a href="#"><i class="fab fa-linkedin"></i></a>
      </div>
    </div>
  </div>
  <div class="photos-detail">
    <img src="https://images.unsplash.com/photo-1554151228-14d9def656e4?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=333&q=80" alt="photo">
    <div class="user-detail">
      <h2 class="name">Aysel Aliyeva</h2>
      <p class="profession">Fullstack Developer</p>
      <div class="social-medias">
        <a href="#"><i class="fab fa-instagram"></i></a>
        <a href="#"><i class="fab fa-twitter"></i></a>
        <a href="#"><i class="fab fa-facebook"></i></a>
        <a href="#"><i class="fab fa-linkedin"></i></a>
      </div>
    </div>
  </div>
  <div class="photos-detail">
    <img src="https://images.unsplash.com/photo-1593104547489-5cfb3839a3b5?ixid=MXwxMjA3fDB8MHxzZWFyY2h8MzB8fGh1bWFufGVufDB8fDB8&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="photo">
    <div class="user-detail">
      <h2 class="name">Sevda Agayeva</h2>
      <p class="profession">Backend Developer</p>
      <div class="social-medias">
        <a href="#"><i class="fab fa-instagram"></i></a>
        <a href="#"><i class="fab fa-twitter"></i></a>
        <a href="#"><i class="fab fa-facebook"></i></a>
        <a href="#"><i class="fab fa-linkedin"></i></a>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  min-height:100vh;
  font-family:Cambria;
}

.container {
  min-height:100vh;
  display:flex;
  justify-content:space-evenly;
  align-items:center;
}
.photos-detail {
  // border:1px solid red;
  padding:2rem;
  transition:350ms ease-in-out;
  box-shadow: 0 4px 20px 3px rgb(0 0 0 / 10%);
    border-radius: 10px;
}
img {
  width:150px;
  height:150px;
  border-radius:50%;
  transition:500ms ease-in-out;
}
.social-medias {
  // background:lightblue;
  display:flex;
  justify-content:space-between;
  margin:2rem 0 0;
  transition:350ms ease-in-out;
}
.social-medias>a {
  color:black;
}
h2{
  transition:350ms ease-in-out;
}
p {
  text-align:center;
  margin-top:-10px;
  color:red;
  transition:350ms ease-in-out;
}
.photos-detail:hover {
  background:red;
}
.photos-detail:hover img {
  transform:rotate(15deg);
}
.photos-detail:hover .user-detail h2,
.photos-detail:hover .user-detail p,
.photos-detail:hover .social-medias>a{
  color:white;
}
@media only screen and (max-width: 762px) {
  body {
    // background-color: lightblue;
  }
  .container {
  flex-direction:column;
  gap:40px;
}
}
              
            
!

JS

              
                
              
            
!
999px

Console