Read the statement by Michael Teeuw here.
Change the color of the relative dates in the default calendar.
-
Good afternoon, I’m just starting to deal with CSS. Is it possible to make the default calendar so that the absolute dates are of the same color and the relative dates of another, in general, I need to highlight the relative dates in the calendar. Please help.
-
@евгений This is not possible in CSS alone. There is nothing in the HTML to indicate that a date is a relative date vs an absolute date. You would need to modify the javascript to be able to insert appropriate classes into the markup that you could then target with CSS.
-
Thank you very much. I understood, but this is still difficult for me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login