前端学习网站:https://www.freecodecamp.org
Bootstrap的使用
- 导入boortstrap css文件 eg:
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
- 为需要设置为相应bootsrap样式的元素设置class 例如:设置图片适应屏幕大小
<img src='https://bit.ly/fcc-running-cats' class='img-responsive'/>
动画:body像没挂稳的壁画
先导入:https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css 和jQuery
$(“body”).addClass(“animated hinge”);