|
@@ -36,6 +36,24 @@ Loop a series of images or texts in a limited space
|
|
|
</el-carousel>
|
|
|
</div>
|
|
|
</template>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .el-carousel__item h3 {
|
|
|
+ color: #475669;
|
|
|
+ font-size: 14px;
|
|
|
+ opacity: 0.75;
|
|
|
+ line-height: 150px;
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n) {
|
|
|
+ background-color: #99a9bf;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n+1) {
|
|
|
+ background-color: #d3dce6;
|
|
|
+ }
|
|
|
+</style>
|
|
|
```
|
|
|
:::
|
|
|
|
|
@@ -52,6 +70,24 @@ Indicators can be displayed outside the carousel
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</template>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .el-carousel__item h3 {
|
|
|
+ color: #475669;
|
|
|
+ font-size: 18px;
|
|
|
+ opacity: 0.75;
|
|
|
+ line-height: 300px;
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n) {
|
|
|
+ background-color: #99a9bf;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n+1) {
|
|
|
+ background-color: #d3dce6;
|
|
|
+ }
|
|
|
+</style>
|
|
|
```
|
|
|
:::
|
|
|
|
|
@@ -68,6 +104,24 @@ You can define when arrows are displayed
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</template>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .el-carousel__item h3 {
|
|
|
+ color: #475669;
|
|
|
+ font-size: 18px;
|
|
|
+ opacity: 0.75;
|
|
|
+ line-height: 300px;
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n) {
|
|
|
+ background-color: #99a9bf;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n+1) {
|
|
|
+ background-color: #d3dce6;
|
|
|
+ }
|
|
|
+</style>
|
|
|
```
|
|
|
:::
|
|
|
|
|
@@ -84,6 +138,24 @@ When a page is wide enough but has limited height, you can activate card mode fo
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</template>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .el-carousel__item h3 {
|
|
|
+ color: #475669;
|
|
|
+ font-size: 14px;
|
|
|
+ opacity: 0.75;
|
|
|
+ line-height: 200px;
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n) {
|
|
|
+ background-color: #99a9bf;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-carousel__item:nth-child(2n+1) {
|
|
|
+ background-color: #d3dce6;
|
|
|
+ }
|
|
|
+</style>
|
|
|
```
|
|
|
:::
|
|
|
|