Logo Luan Morina
Demonstrim i projektimit të kalendarit me CSS

E hënë

23

dhjetor 2024

Dimër

HTML

<div class="mbajtesi-me-kalendar"> 
<div class="kalendar-kokezimi">

 <span></span> 
 <span></span>
 
</div>
 
<div class="kalendar-brenda">
  <h1>E hënë</h1> 
  <h2>23</h2> 
  <h3>dhjetor 2024</h3> 
  
</div> 
</div>

CSS

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

.mbajtesi-me-kalendar {
margin: 0 auto;
max-width: 260px;
font-family: "Oswald", sans-serif;
} 

.kalendar-kokezimi {
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: #cc5446;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-bottom: 4px solid #ffffff;
}

.kalendar-kokezimi span {
background-color: #edf0f1;
border: 4px solid #ffffff;
width: 20px;
height: 40px;
border-radius: 6px;
position: relative;
top: -20px;
}

.kalendar-brenda {
background-color: #edf0f1;
min-height: 100px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
padding: 20px;
text-align: center;
}

.kalendar-brenda h1 {
font-size: .80em;
margin: 0;
text-transform: uppercase;
}

.kalendar-brenda h2 {
font-size: 4em;
margin: 0;
text-transform: uppercase;
}

.kalendar-brenda h3 {
font-size: 1.2em;
font-weight: normal;
}
   Pamje e kalendarit me CSS