1.img默认是inline-block
2.渐变linear-gradient(to bottom right,rgba(0,0,0,0.7) ,rgba(0,0,0,0.7),url() no-repeat center)
左上到右下。
3.h标签两个在一起时需加在标签hgroup中
hgroup
h2旅游h2
h3介绍h3
hgroup
html5学习笔记一
4.图片标签
figcaption标签需要在第二位置或者最后
figure
img src=
figcaption
添加标签及内容
figcation
figure
html5学习笔记一
5.边框阴影
box-shadow:0 0 0,rgba(0,0,0,0.4)

6.旋转
transform:rotate(45deg);
html5学习笔记一

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2021-12-24
  • 2021-07-28
猜你喜欢
  • 2021-08-22
  • 2021-09-28
  • 2022-12-23
  • 2021-11-18
  • 2021-09-16
相关资源
相似解决方案