簡體   English   中英

ngx-image-cropper樣式不起作用

[英]ngx-image-cropper style not wroking

我為ngx-image-cropper使用了我的angular 6項目,該項目工作正常,我嘗試更改該裁剪器的樣式,但未更改,任何人都知道如何正確執行此操作

我用這種風格

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

范例圖片

嘗試在具有重要屬性的父組件(index.html)或全局CSS(styles.css)中添加樣式。

的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