Change icon image size on SweetAlert
问题 I'm trying for change icon image size on SweetAlert. In the .css file I see: .sweet-alert .sa-icon { width: 80px; height: 80px; border: 4px solid gray; -webkit-border-radius: 40px; border-radius: 40px; border-radius: 50%; margin: 20px auto; padding: 0; position: relative; box-sizing: content-box; } I have changed this values: width: 80px; height: 80px; But not change nothing. My .png file is showed in a predefinite size. Suggestions? 回答1: use the "imageSize" object class in your controller.