だが,videoタグの要素に対してcssクラスのspanを適用しようとしたが効かなかった.
そこで何か方法がないか探し,
https://gist.github.com/jgarber/2302238
https://github.com/marclarr/FitVids.js
を見つけたが,うまく動かなかった.
そのとき↓を見つけ,たった2行で動いた(笑)
video{Other fixed-width assets | Implementing Responsive Design with Media | Peachpit:
max-width: 100%;
height: auto;
}
'via Blog this'
感謝.
0 件のコメント:
コメントを投稿