JS vue鼠标悬停图片放大特效代码下载


JS vue鼠标悬停图片放大特效代码下载
JS vue鼠标悬停图片放大特效代码下载以及vue鼠标悬停、图片放大等js/jquery网页特效代码下载。

1. 引入CSS

<link rel="stylesheet" href="css/style.css">

2. 引入JS

<script type="text/javascript" src='js/vue.min.js'></script>
<script type="text/javascript" src="js/script.js"></script>

3. HTML代码

<div class="grid" id="grid">
  <photo-card img="img/1.jpg" link=""></photo-card>
  <photo-card img="img/2.jpg" link=""></photo-card>
  <photo-card img="img/3.jpg" link=""></photo-card>
  <photo-card img="img/4.jpg" link=""></photo-card>
  <photo-card img="img/5.jpg" link=""></photo-card>
  <photo-card img="img/6.jpg" link=""></photo-card>
  <photo-card img="img/7.jpg" link=""></photo-card>
  <photo-card img="img/8.jpg" link=""></photo-card>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>

相关推荐

发表评论

相关文章