'How to change swiper-pagination-bullet background in ionicv4

I am facing problem to change slider bullets in Ionic v4

.swiper-pagination-bullet {
  --bullet-background: red;
}


Solution 1:[1]

Just use

.swiper-pagination-bullet{ background-color:red;}

or

.swiper-pagination-bullet{ background:red;}

This will work fine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Khushboo