How to increase the size of carousel in 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? 回答1: .carousel .carousel-item { width:300px !important;} this might help, place this code in your css and change width acording to your need. 回答2: Set a minimum height that correlates to the actual height of the images you want to include. For me, that was 900px. .carousel { min-height