github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/static/libs/vue-1.0.24/examples/modal/modal.css (about) 1 .modal-mask { 2 position: fixed; 3 z-index: 9998; 4 top: 0; 5 left: 0; 6 width: 100%; 7 height: 100%; 8 background-color: rgba(0, 0, 0, .5); 9 display: table; 10 transition: opacity .3s ease; 11 } 12 13 .modal-wrapper { 14 display: table-cell; 15 vertical-align: middle; 16 } 17 18 .modal-container { 19 width: 300px; 20 margin: 0px auto; 21 padding: 20px 30px; 22 background-color: #fff; 23 border-radius: 2px; 24 box-shadow: 0 2px 8px rgba(0, 0, 0, .33); 25 transition: all .3s ease; 26 font-family: Helvetica, Arial, sans-serif; 27 } 28 29 .modal-header h3 { 30 margin-top: 0; 31 color: #42b983; 32 } 33 34 .modal-body { 35 margin: 20px 0; 36 } 37 38 .modal-default-button { 39 float: right; 40 } 41 42 /* 43 * the following styles are auto-applied to elements with 44 * transition="modal" when their visibility is toggled 45 * by Vue.js. 46 * 47 * You can easily play with the modal transition by editing 48 * these styles. 49 */ 50 51 .modal-enter, .modal-leave { 52 opacity: 0; 53 } 54 55 .modal-enter .modal-container, 56 .modal-leave .modal-container { 57 -webkit-transform: scale(1.1); 58 transform: scale(1.1); 59 }