I am using semantic ui modal and I want to change background color of its dimmer but I cant.
I used
function modalist(){
$(".ui.modal").modal("show");
$(".ui.dimmer").css("background-color", "Yellow");
}
It works, but for less than two sec.
Please Help Me.
Kindest Regards;
Try this css with "!important":
.ui.dimmer
{
background: rgba(100, 100, 0, 0.85) !important;
}
您是否尝试过更改CSS文件中的CSS?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.