2019年9月6日

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } .box{ width: 200px; height: 100px; background-color: #ff0789; transform: transla 阅读全文
posted @ 2019-09-06 18:09 zhangyu12138 阅读(81) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } .box1,.box2{ width: 200px; height: 100px; background-color: #ff0789; transition: 阅读全文
posted @ 2019-09-06 18:08 zhangyu12138 阅读(115) 评论(0) 推荐(0) 编辑
 
摘要: Title 阅读全文
posted @ 2019-09-06 17:44 zhangyu12138 阅读(126) 评论(0) 推荐(0) 编辑
 
摘要: Title aaa 菜鸟联盟 使用after伪元素模拟元素来清除浮动(企业常规用法) .box:after{/* after伪元素 */ content:''; display:block; clear:both; } 伪元素默认为display:inline; --> 阅读全文
posted @ 2019-09-06 17:43 zhangyu12138 阅读(95) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } .box{ border: 1px solid deeppink; font-size: 0; } .box img{ vertical-align: text 阅读全文
posted @ 2019-09-06 17:42 zhangyu12138 阅读(149) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } .box{ width: 200px; height: 200px; background-color: deeppink; border-radius: 50 阅读全文
posted @ 2019-09-06 17:41 zhangyu12138 阅读(86) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } body{ font-size: 16px; } .text{ width: 400px; height: 100px; background-color: d 阅读全文
posted @ 2019-09-06 17:40 zhangyu12138 阅读(87) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>咸鱼联盟</title> <style> /* css层叠样式表 */ *{ margin: 0; padding: 0; } .box-one{ width: 200px; height: 100px; background-color: green; } 阅读全文
posted @ 2019-09-06 17:39 zhangyu12138 阅读(103) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>咸鱼联盟</title> <style> /* css层叠样式表 */ *{ margin: 0; padding: 0; } .box-one{ width: 200px; height: 100px; background-color: green; } 阅读全文
posted @ 2019-09-06 17:38 zhangyu12138 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: 咸鱼联盟 兄弟元素在竖直方向有margin时触发 ... 阅读全文
posted @ 2019-09-06 17:37 zhangyu12138 阅读(95) 评论(0) 推荐(0) 编辑