mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Update README.md
This commit is contained in:
20
README.md
20
README.md
@@ -203,6 +203,26 @@ Example:
|
|||||||
</modal>
|
</modal>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Background color
|
||||||
|
|
||||||
|
If you want to change overflow background color, you can easily do it using css.
|
||||||
|
|
||||||
|
For all modals:
|
||||||
|
|
||||||
|
```css
|
||||||
|
.v--modal-overlay {
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
For specific modal:
|
||||||
|
|
||||||
|
```css
|
||||||
|
.v--modal-overlay[data-modal="my_modal_name"] {
|
||||||
|
background: cyan;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#### Fullscreen
|
#### Fullscreen
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
|
|||||||
Reference in New Issue
Block a user