简体   繁体   English

如何在owl-item中编辑或禁用宽度?

[英]how edit or disable width in owl-item?

how can to edit or disable width "owl-item" in owl carousel? 如何在猫头鹰轮播中编辑或禁用宽度“ owl-item”?

my Meaning inside the photo : 照片中的我的意思: 在此处输入图片说明

I acted through 我通过

( style.css > .owl-item { width : 80px;} ) , but did not work (style.css> .owl-item {width:80px;}),但没有用

If you want to override the div's width in style.css -> change it as below, 如果您想在style.css中覆盖div的宽度->如下更改,

.owl-item { width : 80px !important; }

!important -> Specified style Will be applied to the css elements irrespective of the style being mentioned in the element. !important->指定的样式将应用于css元素,而不管元素中提及的样式如何。

If you want to know how it get applied just have a look in the link 如果您想知道它是如何应用的,请看一下链接

Hope it helps. 希望能帮助到你。

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

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