1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to show date numbers in css grid calendar

Discussão em 'Angular' iniciado por Aria, Agosto 3, 2025.

  1. Aria

    Aria Guest

    How do I make the numbers shift in this makeshift calendar grid?

    <div class="calGrid">
    <div *ngFor="let d of dates;let index=index" class="calDate">
    <div *ngIf="index < 7">{{d.day}}</div>
    <div>{{d.date}}</div>
    </div>
    </div>


    to show up like this:

    [​IMG]

    but how do I make the numbers shift when the first day of the month starts on say, Fri ?

    Continue reading...

Compartilhe esta Página