摘要: 方法一: .container{ background-size: 100% 100%; transition: all 2s; } .container:hover{ background-size: 120% 120%; } 方法二: img{ transition: all 2s; } img 阅读全文
posted @ 2018-07-29 14:35 攒一口袋阳光~ 阅读(3462) 评论(1) 推荐(1)
摘要: <template> <div class="nav"> <div class="nav-a"> <ul class="nav-a-ul"> <li class="nav-a-li" :class="classA == index ? 'active' : '' " @click="selected 阅读全文
posted @ 2018-07-29 14:19 攒一口袋阳光~ 阅读(4672) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <meta name="viewport" content="m 阅读全文
posted @ 2018-07-29 14:14 攒一口袋阳光~ 阅读(279) 评论(0) 推荐(0)
摘要: 一、安装echarts依赖。 npm install echarts -s 二、在入口文件main.js文件里引入echarts。 import echarts from "echarts" vue.prototype.$echarts = echarts 三、在所需页面按需引入图标表 <templ 阅读全文
posted @ 2018-07-06 20:15 攒一口袋阳光~ 阅读(337) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2018-03-20 14:09 攒一口袋阳光~ 阅读(259) 评论(0) 推荐(0)
摘要: Sublime 快捷键Tab无法自动补全HTML结构可能是因为没有安装Emmet插件的问题。 一、首先我们需要安装Emmet插件。在菜单栏中找到“首选项”,选择“Package control”,在弹出的面板中选择“package control Install Package”将会自动安装Emme 阅读全文
posted @ 2018-03-17 13:48 攒一口袋阳光~ 阅读(909) 评论(0) 推荐(0)