摘要:
直接用CSS的 hover实现 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>下拉菜单</title> <link rel="stylesheet" type="text/css" href="./css/ 阅读全文
摘要:
清除浮动:对于父元素的影响清除就是:width:100%;overflow:hidden; 对于自己临近的清除就是:clear:both; position: relative 不会脱离文档流,会产生偏移属性和z-index属性 absolute 会脱离文档流,会产生偏移属性和z-index属 当一 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CSS3照片墙</title> <link rel="stylesheet" type="text/css" href="./css/style.css"> < 阅读全文