diff --git a/skills/html/README.md b/skills/html/README.md new file mode 100644 index 0000000..981628f --- /dev/null +++ b/skills/html/README.md @@ -0,0 +1,3 @@ +# HTML + +vscode 插件: open in browser \ No newline at end of file diff --git a/skills/html/images/1.jpeg b/skills/html/images/1.jpeg new file mode 100644 index 0000000..6b28d65 Binary files /dev/null and b/skills/html/images/1.jpeg differ diff --git a/skills/html/images/2.jpeg b/skills/html/images/2.jpeg new file mode 100644 index 0000000..0fc21a4 Binary files /dev/null and b/skills/html/images/2.jpeg differ diff --git a/skills/html/index.css b/skills/html/index.css new file mode 100644 index 0000000..3299f25 --- /dev/null +++ b/skills/html/index.css @@ -0,0 +1,39 @@ +/* p { + color: blue; +} */ + +/* . class */ +.red { + color: red; +} + +/* # 表示这是一个id选择器 */ +#input01 { + width: 400px; +} + +/* ul>li:first-child { + font-weight: 600; +} */ + + +ul li:hover { + color: red; + font-size: 20px; + font-weight: 600; +} + +img { + width: 220px; + height: 220px; + object-fit: cover; /* 裁剪成正方形 */ + border-radius: 4px; /* 可选:圆角 */ + margin: 10px; +} + +.img-warppter { + height: 300px; + display: flex; + justify-content: space-between; + align-items: center; +} \ No newline at end of file diff --git a/skills/html/index.html b/skills/html/index.html new file mode 100644 index 0000000..ed1be7e --- /dev/null +++ b/skills/html/index.html @@ -0,0 +1,109 @@ + +
+ + +段落
+段落
+ 文字A +Month | +Savings | +
---|---|
January | +$100 | +
February | +$80 | +
Month | +Savings | +
---|---|
January | +$100 | +
February | +$80 | +
这是一个段落
+Month | +Savings | +
---|---|
January | +$100 | +
February | +$80 | +
这是一个段落
+