问题描述
如何制作进度条从左到右的反转动画?
$(document).ready(function() {
toastr.options = {
'closeButton': true,'debug': false,'newestOnTop': false,'progressBar': false,'positionClass': 'toast-top-left','preventDuplicates': false,'showDuration': '1000','hideDuration': '1000','timeOut': '5000','extendedTimeOut': '1000','showEasing': 'swing','hideEasing': 'linear','showMethod': 'fadeIn','hideMethod': 'fadeOut',}
});
解决方法
覆盖css类(toast-progress)
.toast-progress {right: 0;左:自动;}