image_send_modalクラスが上から現れるのですが、image_previewの画像だけ上から出てくれずパッ普通に出てきてしまいます。
一緒に上から出てきてほしいです...
誰か分かりませんか(>_<)
html
1<div class="image_send_modal"> 2 3 <img src="../../../storage/test.png" class="image_preview"/> 4 <button class="send_button" type="button" @click="send_submit">送信</button> 5 <button class="cancel_button" type="button" @click="erase_preview">キャンセル</button> 6 7 </div>
scss
1@keyframes sizeScale { 2 0% { 3 height: 0vh; 4 } 5 100% { 6 height: 100vh; 7 } 8 } 9 .image_send_modal { 10 position: fixed; 11 width: 100vw; 12 height: 100vh; 13 background-color: rgba(50, 47, 45, 0.9); 14 text-align: center; 15 z-index: 2; 16 display: block; 17 animation-name: sizeScale; 18 animation-duration: 1s; 19 .image_preview { 20 position: relative; 21 top: 70px; 22 height: 400px; 23 max-width: 500px; 24 border: solid 1px gray; 25 border-radius: 2vw; 26 padding: 100px; 27 background-color: white; 28 } 29 .send_button { 30 position: absolute; 31 bottom: 50px; 32 left: 30vw; 33 width: 225px; 34 height: 50px; 35 border: 1px solid #d3d3d3; 36 border-radius: 2vw; 37 } 38 .cancel_button { 39 position: absolute; 40 bottom: 50px; 41 right: 30vw; 42 width: 225px; 43 height: 50px; 44 border: 1px solid #d3d3d3; 45 border-radius: 2vw; 46 } 47 }
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/06 10:05
退会済みユーザー
2018/02/06 10:19