简体   繁体   English

ngx-image-cropper样式不起作用

[英]ngx-image-cropper style not wroking

I used my angular 6 project for the ngx-image-cropper that one is working fine, I try to change that cropper style but its not a change , any one know how to do that correctly 我为ngx-image-cropper使用了我的angular 6项目,该项目工作正常,我尝试更改该裁剪器的样式,但未更改,任何人都知道如何正确执行此操作

I used this style 我用这种风格

.cropper .move {
  width: 100%;
  cursor: move;
  border: 2px solid red;
}

范例图片

Try to add style in parent component (index.html) OR global CSS (styles.css) with the important attribute. 尝试在具有重要属性的父组件(index.html)或全局CSS(styles.css)中添加样式。

index.html 的index.html

.cropper .move 
{
  width: 100%;
  cursor: move;
  border: 2px solid red !important;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM