How to change the background color of bootstrap-sweetalert?

房东的猫 提交于 2019-12-14 03:35:21

问题


What is the best way to change the background color of bootstrap-sweetalert ? this is my code

.sweet-alert 
{
   background-color: #2f2f2f96;
}

$(".sweet-alert").css("background-color","#2f2f2f96");

回答1:


update your sweetalert.css with your coding and hard refresh your web browser. It should work.

.sweet-alert {
background-color: #2f2f2f96;
...other codings...
}


来源:https://stackoverflow.com/questions/49365209/how-to-change-the-background-color-of-bootstrap-sweetalert

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!