Hello,
.rz-dropdown-items li:not(:last-child)::before {
}
i have used these to override the styles of my calender months and year dropdown it is applying to all the dropdown i want it specific to the calendar
You can set id attribute for the component and target it using id CSS selector.
did not work, can you give an example
What code didn’t worked? You can use our demos to test your CSS - they are editable.
when i use this radzen datepicker
<RadzenDatePicker id="calendar" @bind-Value=@value Name="RadzenDatePickerBindValue" />
#calender .rz-dropdown-items li:not(:last-child)::before {
background-color:red !important;
}
used these but the changes didnot apply
This class is not related to the DatePicker/Calendar component. Use your browser dev tools inspector to check the actual classes used.