A Pen by Pawel

Thumbnail
This awesome code was written by Szczepkowski, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Szczepkowski ©
  • HTML
  • CSS
  • JavaScript
    <div class="hand-container">
  <div class="card-container">
    <div class="card-face-up">
      <div class="card-top"></div>
      <div class="card-suit"></div>
      <div class="card-bottom"></div>
    </div> <!-- card-face-up -->
    <div class="card-face-down">
    </div> <!-- card face-down -->
  </div> <!-- card-container -->
  <div class="card-container">
    <div class="card-face-up">
      <div class="card-top"></div>
      <div class="card-suit"></div>
      <div class="card-bottom"></div>
    </div> <!-- card-face-up -->
    <div class="card-face-down">
    </div> <!-- card-face-down -->
  </div> <!-- card-container -->
</div>
    


/*Downloaded from https://www.codeseek.co/Szczepkowski/a-pen-by-pawel-bENpML */
    

body {
  font-size: 200%;
}
.hand-container {
  display: flex;
  flex-shrink: 0;
  width: 10em;
  height: 6em;
}
.card-container {
  display: flex;
  flex-shrink: 0;
  border: 1px solid black;
  width: 5em;
  height: 6em;
}



/*Downloaded from https://www.codeseek.co/Szczepkowski/a-pen-by-pawel-bENpML */
    

Comments