DEV Community

Cover image for Love Language Discovery
Abhay Singh Kathayat
Abhay Singh Kathayat

Posted on

Love Language Discovery

<!DOCTYPE html>









February CSS Art

<br>
body {<br>
margin: 0;<br>
height: 100vh;<br>
display: flex;<br>
justify-content: center;<br>
align-items: center;<br>
background: linear-gradient(45deg, #87CEEB, #E0FFFF);<br>
overflow: hidden;<br>
font-family: &#39;Arial&#39;, sans-serif;<br>
}</p>
<div class="highlight"><pre class="highlight plaintext"><code>.scene {
position: relative;
width: 100%;
height: 100%;
}

/* Snowflakes */
@keyframes fall {
0% { transform: translateY(-10%); }
100% { transform: translateY(100vh); }
}

.snowflake {
position: absolute;
width: 10px;
height: 10px;
background: white;
border-radius: 50%;
animation: fall 5s linear infinite;
}

/* Heart Animation */
@keyframes beat {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

.heart {
position: absolute;
width: 50px;
height: 50px;
background: red;
transform: rotate(-45deg);
animation: beat 1s infinite;
top: 20%;
left: 50%;
}

.heart::before,
.heart::after {
content: '';
position: absolute;
width: 50px;
height: 50px;
background: red;
border-radius: 50%;
}

.heart::before {
top: -25px;
left: 0;
}

.heart::after {
top: 0;
left: 25px;
}

/* Calendar */
.calendar {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.8);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
text-align: center;
}

.calendar h2 {
margin: 0;
font-size: 24px;
color: #333;
}

.calendar table {
margin-top: 10px;
}

.calendar td {
padding: 10px;
cursor: pointer;
}

.calendar td:hover {
background: #f0f0f0;
border-radius: 5px;
}

/* Blooming Flowers */
@keyframes bloom {
0% { transform: scale(0); }
100% { transform: scale(1); }
}

.flower {
position: absolute;
width: 20px;
height: 20px;
background: pink;
border-radius: 50%;
animation: bloom 2s ease-in-out infinite;
bottom: 0;
}

.flower:nth-child(1) { left: 10%; animation-delay: 0s; }
.flower:nth-child(2) { left: 30%; animation-delay: 1s; }
.flower:nth-child(3) { left: 50%; animation-delay: 2s; }
.flower:nth-child(4) { left: 70%; animation-delay: 3s; }
.flower:nth-child(5) { left: 90%; animation-delay: 4s; }
</code></pre></div>
<p>







<!-- Snowflakes -->








<!-- Heart -->
<div class="heart"></div>

<!-- Calendar -->
<div class="calendar">
  <h2>February 2025</h2>
  <table>
    <tr>
      <th>Sun</th><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th>
    </tr>
    <tr>
      <td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td>
    </tr>
    <tr>
      <td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td>
    </tr>
    <tr>
      <td>15</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td><td>21</td>
    </tr>
    <tr>
      <td>22</td><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td><td>28</td>
    </tr>
  </table>
</div>

<!-- Flowers -->
<div class="flower"></div>
<div class="flower"></div>
<div class="flower"></div>
<div class="flower"></div>
<div class="flower"></div>



Top comments (0)