bootstrap应用+一个有趣的css

前端学习网站:https://www.freecodecamp.org

Bootstrap的使用

  1. 导入boortstrap css文件 eg:
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
  1. 为需要设置为相应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”);

猜你喜欢

转载自blog.csdn.net/sinat_33408089/article/details/79790558