Skip to content

Commit 3daff7e

Browse files
committed
docs: update readme for style customize
1 parent adf7b15 commit 3daff7e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,25 @@ If You want to see more detail,<br>
9393

9494
- [`example/app.tsx`](https://github.com/kimcoder/react-simple-image-slider/blob/master/example/App.tsx)<br>
9595

96+
# Style customize
97+
98+
- can customize by className with `!important`;
99+
100+
```
101+
.your-app {
102+
.rsis-container {
103+
// do something
104+
}
105+
}
106+
107+
.your-app {
108+
.rsis-image {
109+
background-size: contain !important;
110+
}
111+
}
112+
113+
```
114+
96115
# Development
97116

98117
### directory & source

0 commit comments

Comments
 (0)