前端学习
kaijia323
现在已经不做爬虫了,现在做前端,之前的文章代码现在已经忘记了,所以之前的代码问题请自行百度吧
展开
-
vant全局引入
一、在src/plugin/vant.js输入(没有plugin和vant.js的就手动创建) import Vue from 'vue' import Vant from 'vant/es' import 'vant/lib/index.css' Vue.use(Vant) 二、在src/main.js引入 import Vue from 'vue' import App from './App.vue' import router from './router' import './plugin/原创 2020-09-18 23:27:07 · 2370 阅读 · 0 评论 -
清除浮动
style { .clear{ clear: both; } } <div class="box clearfix"> <div class="one">1</div> <div class="two">2</div> <div class="clear"></div> </div> style { .clearfix::after { content: "";原创 2020-08-02 21:07:31 · 110 阅读 · 0 评论