update carousel demo style

This commit is contained in:
afc163 2017-07-11 18:19:01 +08:00
parent ab4e676b2a
commit c112abd137
4 changed files with 48 additions and 1 deletions

View File

@ -25,3 +25,18 @@ ReactDOM.render(
</Carousel>
, mountNode);
````
````css
/* For demo */
.ant-carousel .slick-slide {
text-align: center;
height: 160px;
line-height: 160px;
background: #364d79;
overflow: hidden;
}
.ant-carousel .slick-slide h3 {
color: #fff;
}
````

View File

@ -37,7 +37,10 @@ ReactDOM.render(
height: 160px;
line-height: 160px;
background: #364d79;
color: #fff;
overflow: hidden;
}
.ant-carousel .slick-slide h3 {
color: #fff;
}
````

View File

@ -26,3 +26,17 @@ ReactDOM.render(
, mountNode);
````
````css
/* For demo */
.ant-carousel .slick-slide {
text-align: center;
height: 160px;
line-height: 160px;
background: #364d79;
overflow: hidden;
}
.ant-carousel .slick-slide h3 {
color: #fff;
}
````

View File

@ -25,3 +25,18 @@ ReactDOM.render(
</Carousel>
, mountNode);
````
````css
/* For demo */
.ant-carousel .slick-slide {
text-align: center;
height: 160px;
line-height: 160px;
background: #364d79;
overflow: hidden;
}
.ant-carousel .slick-slide h3 {
color: #fff;
}
````