摘要:
<!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 阅读全文
2019年9月6日
摘要:
<!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: 阅读全文
摘要:
Title aaa 菜鸟联盟 使用after伪元素模拟元素来清除浮动(企业常规用法) .box:after{/* after伪元素 */ content:''; display:block; clear:both; } 伪元素默认为display:inline; --> 阅读全文
摘要:
<!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 阅读全文
摘要:
<!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 阅读全文
摘要:
<!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 阅读全文
摘要:
<!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; } 阅读全文
摘要:
<!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; } 阅读全文