标签 CSS 下的文章

CSS - 小色块儿

欢迎 来到 小尾巴 的空间
css 代码

color: #fff;
padding: 2px 4px;
font-size: 12px;
border-radius: 3px;
background-color: #1abc9c;

CSS - a

a {
  position: relative;
  white-space: normal;
  border-bottom: .0625rem dashed #1abc9c;
  text-decoration: none;
  color: #1abc9c;
}
a:after {
  position: absolute;
  bottom: -.0625rem;
  left: 100%;
  width: 0;
  border-bottom: .0625rem solid #1abc9c;
  content: "";
  transition: width .35s,left .35s
}
a:hover:after {
  left: 0;
  width: 100%;
  transition: width .35s
}

参考自 Hran

浏览器内核

浏览器内核就是浏览器所采用的渲染引擎,渲染引擎决定了浏览器如何显示网页的内容以及页面的格式信息。

阅读全文

前端面试题

HTML面试题

1.XHTML和HTML有什么区别

  • HTML是一种基本的WEB网页设计语言,XHTML是一个基于XML的置标语言
    最主要的不同:

  • XHTML 元素必须被正确地嵌套。

  • XHTML 元素必须被关闭。

  • 标签名必须用小写字母。

  • XHTML 文档必须拥有根元素。


阅读全文