<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <meta http-equiv="x-ua-compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>圆形的头像示例</title> <style> * { margin: 0; padding: 0; background-color: #eeeeee; } .header-img { 150px; height: 150px; border: 3px solid white; border-radius: 100%; overflow: hidden; } .header-img>img { max- 100%; } </style> </head> <body> <div class="header-img"> <img src="https://q1mi.github.io/Blog/asset/img/head_img.jpg" alt=""> </div> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>滚动背景图示例</title> <style> * { margin: 0; } .box { 100%; height: 500px; background: url("https://www.luffycity.com/static/img/width-bank.1c9d1b0.png") no-repeat center center; background-attachment: fixed; } .d1 { height: 500px; background-color: tomato; } .d2 { height: 500px; background-color: steelblue; } .d3 { height: 500px; background-color: mediumorchid; } </style> </head> <body> <div class="d1"></div> <div class="box"></div> <div class="d2"></div> <div class="d3"></div> </body> </html>
《构建之法》第13-17章读书笔记
读《一个程序员的生命周期》有感
构建之法的第十、十一、十二章读书笔记
阅读《构建之法》第8,9,10章
5.2-5.3
作业5.1测试与封装
读《构建之法》5.6.7 思考
读《构建之法》的思考
作业2 结对思则运算
- 最新文章
-
Android的ListView弹动效果,且解决了元素较少是不能弹动的问题
在Android中观察者模式的简单使用
22、iOS面试题·自整理·Four
21、Mac常用命令
20、Foundation框架秘籍
19、iOS面试题·自整理·Three
18、iOS面试题·自整理·One
17、iOS面试题·自整理·Two
16、iOS多线程篇:NSThread
15、iOS开发之duplicate symbols for architecture x86_64错误
- 热门文章
-
14、block与代理的对比
L1-037 A除以B (10 分)
L1-035 情人节 (15 分)
UVa-156 Ananagrams(map映射)
字典序UVa 1584 Circular Sequence
PAT甲级 1001 A+B Format
FZU-Problem 2294 Uint47 calculator
(2018 Multi-University Training Contest 2)Problem G
(2018 Multi-University Training Contest 3)Problem D. Euler Function
(2018 Multi-University Training Contest 3)Problem L. Visual Cube
Copyright © 2020-2023
润新知