知乎
sonder 中杯

仿照知乎的网页登录做了一个静态页面

  • 部分代码
1
2
3
4
5
6
<select id="firsttable1" value="" style="color: darkgray; font-size: 15px;">
<option value="中国 + 86">中国 + 86</option>
<option value="美国 + 1">美国 + 1</option>
...
<option value="西班牙+ 34">西班牙+ 34</option>
</select>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
body {
background: #c5e3fd;
background-image: url(img/知乎背景.png);
/* 不重复*/
background-repeat: no-repeat;
/* 效果与100% 100%相同 等比例展现*/
background-size: cover;
/* 不让背景图滑动 */
background-attachment: fixed;
}
.zhihu {
width: 434px;
height: 538px;
background-color: white;
/* 居中 显示 并且微调 */
margin: 45px auto;
padding-right: 20px;
}
input::-webkit-input-placeholder {
/*浅灰色*/
color: #8590a6;
}
  • 图示
    image
  • 本文标题:知乎
  • 本文作者:sonder
  • 创建时间:2019-02-18 20:55:24
  • 本文链接:https://sonderss.github.io/2019/02/18/知乎/
 评论