Skip to content

Commit

Permalink
update carousel demo style
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jul 11, 2017
1 parent ab4e676 commit c112abd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
15 changes: 15 additions & 0 deletions components/carousel/demo/autoplay.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
````
5 changes: 4 additions & 1 deletion components/carousel/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ ReactDOM.render(
height: 160px;
line-height: 160px;
background: #364d79;
color: #fff;
overflow: hidden;
}

.ant-carousel .slick-slide h3 {
color: #fff;
}
````
14 changes: 14 additions & 0 deletions components/carousel/demo/fade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
````
15 changes: 15 additions & 0 deletions components/carousel/demo/vertical.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
````

0 comments on commit c112abd

Please sign in to comment.