1.让一个div在页面中水平垂直居中1>position:absolute;(当页面出现滚动条的时候,用fixed)top:0;left:0;right:0;bottom:0;margin:auto;2>position:absolute;top:50%;left:50%;translate:(-50%,-50%)3>display:flex;justify-content:ce
分类:
其他好文 时间:
2019-12-24 17:01:55
阅读次数:
105
div水平居中 1.行内元素 .parent{ text align: center } 2.块级元素 .son{ margin: 0 auto ; } 3.flex布局 .parent{ display: flex; justify content: center } 4.绝对定位 定宽 .son ...
分类:
Web程序 时间:
2019-12-23 16:38:26
阅读次数:
91
Custom Routes Custom Routes Template routes allow you to map individual URLs to specific template files within a Ghost theme. For example: make /custo ...
分类:
其他好文 时间:
2019-12-23 00:44:43
阅读次数:
110
一、概述 网格布局(Grid)是最强大的 CSS 布局方案。 它将网页划分成一个个网格,可以任意组合不同的网格,做出各种各样的布局。以前,只能通过复杂的 CSS 框架达到的效果,现在浏览器内置了。 上图这样的布局,就是 Grid 布局的拿手好戏。 Grid 布局与 Flex 布局有一定的相似性,都可 ...
分类:
Web程序 时间:
2019-12-21 18:58:31
阅读次数:
129
html: 1 <div class="circle"> 2 <div class="percent-circle percent-circle-left"> 3 <div class="left-content"></div> 4 </div> 5 <div class="percent-circ ...
分类:
Web程序 时间:
2019-12-20 20:33:40
阅读次数:
392
上传文件的时候出现了The requested URL returned error: 403这个错误 问题描述: 电脑已经注册过一个 github 帐号,一直在本机使用,配置过 SSH。 新建另一个 github 帐号,本地建立好项目之后,使用命令:$ git push -u origin mas ...
分类:
Web程序 时间:
2019-12-18 21:53:18
阅读次数:
129
一,主题式网络爬虫设计方案 1,主题式网络爬虫的名称 1.1豆瓣电影TOP250的爬取 2,主题式网络爬虫的内容与数据特征分析 2.1爬虫的内容 文章标题,评分,评分人数,导演,剧情类别 2.2 数据特征分析 2.2.1对剧情类型,导演做一个词云 2.2.2对评分做一个折线图 3,主题式网络爬虫设计 ...
分类:
编程语言 时间:
2019-12-16 22:11:41
阅读次数:
74
让一个不定宽高的 DIV,垂直水平居中? 1.使用Flex 只需要在父盒子设置:display: flex; justify-content: center;align-items: center; 2.position 几个属性的作用 position 的常见四个属性值: relative,abs ...
分类:
其他好文 时间:
2019-12-16 19:22:14
阅读次数:
99
微信开发者工具中新建项目 教程:https://blog.csdn.net/michael_ouyang/article/details/54923784 C:\Users\Administrator\WeChatProjects\miniprogram-1 1.将test 页面加入 app.jso ...
分类:
微信 时间:
2019-12-16 19:05:13
阅读次数:
126
1. 定位 top 50% left 50% (1) 知道宽高的情况下margin-left margin-top 给个 ( -1/2 宽高 ) (2) 不知道的请况 translate(-50%,-50%) 2. flex display:flex; (1) 水平方向 justify-conten ...
分类:
其他好文 时间:
2019-12-16 15:06:22
阅读次数:
135