如何在materialize.css中增加轮播的大小? [英] How to increase the size of carousel in materialize.css?

查看:65
本文介绍了如何在materialize.css中增加轮播的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在materialize.css中增加轮播的大小,但无法获取.我尝试设置高度,但是没有用.我用谷歌搜索,但找不到任何解决方案.有人可以帮我吗?

I am trying to increase the size of carousel in materialize.css but couldn't get it. I have tried setting height but it didn't work. I googled it but couldn't find any solutions. Could anyone help me with this?

推荐答案

.carousel .carousel-item {
width:300px !important;}

这可能会有所帮助,将这段代码放在您的CSS中,并根据您的需要更改宽度.

this might help, place this code in your css and change width acording to your need.

这篇关于如何在materialize.css中增加轮播的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆