Currently, I am working on incorporating a calendar feature. To display the calendar's day cells, I have utilized a grid layout. My goal is to showcase different types of tasks or notes as strips within specific grid cells. These task strips should align vertically along the bottom border of the cell without disrupting the overall appearance of the calendar day cell. The width of these task strips should cover the entire cell width (100%) by touching both the left and right borders. In cases where there are multiple tasks in a single day cell (e.g., May 26), they should be positioned above each other with a 2px gap between them.
https://i.sstatic.net/1Sznq.jpg
Below is some sample code. Can you assist me in achieving the desired design?
<div id="calendar_container" class="calendar-container">
<div class="calendar-header-row">
<span id="calendar_header" class="calendar-header">May 2020</span>
<span id="prev_month" class="prevMonth" onclick="javascript: previousMonth()"><img src="/images/arrow_left.png"></span>
<span id="next_month" class="nextMonth" onclick="javascript: nextMonth()"><img src="/images/arrow_right.png"></span>
</div>
<div id="calendar_body" class="calendar"><div class="day-name">Sunday</div><div class="day-name">Monday</div><div class="day-name">Tuesday</div><div class="day-name">Wednesday</div><div class="day-name">Thursday</div><div class="day-name">Friday</div><div class="day-name">Saturday</div><div class="day"></div><div class="day"></div><div class="day"></div><div class="day"></div><div class="day"></div><div class="d...