我将我的 Angular 6 元素用于 ngx-image-cropper那个工作正常,我尝试改变那个裁剪器样式,但这不是一个改变,任何人都知道如何正确地做到这一点
我用的是这种风格
.cropper .move {
width: 100%;
cursor: move;
border: 2px solid red;
}
最佳答案
尝试在父组件(index.html)或全局CSS(styles.css)中添加带有 important 属性的样式。
index.html
.cropper .move
{
width: 100%;
cursor: move;
border: 2px solid red !important;
}
关于css - ngx-image-cropper 样式不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53994839/