The box-shadow property can be used to create paper-like cards:

<!DOCTYPE html>
<html>
<head>
<style>
div.card {
  width: 250px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
}

div.header {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 40px;
}div.header1 {
    background-color: red;
    color: white;
    padding: 10px;
    font-size: 40px;
}

div.container {
    padding: 10px;
}
</style>
</head>
<body>

<h2>Cards</h2>

<p>The box-shadow property can be used to create paper-like cards:</p>

<div class="card">

<div class="header1">
    <p>January</p>
  </div>
  <div class="header">
    <h1>1</h1>
  </div>

  <div class="container">
   <h1>2016</h1>
  </div>
</div>

</body>
</html>

Cards

The box-shadow property can be used to create paper-like cards:
January

1

2016

Comments

Popular posts from this blog

Writing Systems Of The World

International Phonetic Alphabet

GRBL Feed Rate