-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalender.html
More file actions
70 lines (68 loc) · 1.68 KB
/
calender.html
File metadata and controls
70 lines (68 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.calender ul{
display: grid;
grid-template-columns: repeat(7,1fr);
grid-gap: 1em;
}
.calender li{
display: flex;
justify-content:center;
align-items: center;
list-style-type: none;
font-size: 3.5em;
height: 125px;
background-color: lightblue;
}
.other-month{
background-color: beige !important;
}
</style>
</head>
<body>
<div class="calender">
<ul>
<li class="other-month">30</li>
<li class="other-month">31</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>11</li>
<li>12</li>
<li>13</li>
<li>14</li>
<li>15</li>
<li>16</li>
<li>17</li>
<li>18</li>
<li>19</li>
<li>20</li>
<li>21</li>
<li>22</li>
<li>23</li>
<li>24</li>
<li>25</li>
<li>26</li>
<li>27</li>
<li>28</li>
<li>29</li>
<li>30</li>
<li class="other-month">1</li>
<li class="other-month">2</li>
<li class="other-month">3</li>
</ul>
</div>
</body>
</html>