久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

html - 將被父元素transform影響的子元素設為none,但不起作用,是什么原因,F12顯示transform:none是正常的。

瀏覽:177日期:2023-07-05 14:26:57

問題描述

<!DOCTYPE html><html lang='en'><head> <meta charset='UTF-8'> <title>test</title> <style type='text/css'> body{ background-color: #eee;}li{ list-style: none;}ul{ display: flex; flex-direction: row;}ul li{ width: 234px; height: 260px; padding:20px 0; margin:0 0 14px 14px; background-color: #fff; text-align: center; text-overflow: ellipsis; transition: 0.3s box-shadow,0.3s transform;}ul li>a{ width: 160px; height: 166px; margin: 0 37px 18px 37px;}ul li>a img{ width: 160px; height: 160px;}ul li h3{ font-size: 14px; color: #212121; font-weight: 400; line-height: 21px; height: 21px; margin-bottom: 3px;}ul li h3 a{ color: #212121;}ul li .desc{ color: #b0b0b0; height: 18px; line-height: 18px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 12px;}ul li .price{ color: #ff6709; height: 21px; line-height: 21px;}ul li:hover{ box-shadow: rgba(0, 0, 0, 0.0980392) 0px 15px 30px; transform: scale(1.01);}ul li a,ul li a img,ul li p{ box-shadow: none; transform: none;} </style></head><body> <ul><li> <a href='http://www.baoyu77737.com/wenda/5824.html#'><img src='http://i3.mifile.cn/a4/T1rQAgB7Av1RXrhCrK.jpg'> </a> <h3><a href='http://www.baoyu77737.com/wenda/5824.html#'>小米路由器3</a> </h3> <p class='desc'>四天線設計,更安全穩定</p> <P class = 'price'>149元</P></li><li> <a href='http://www.baoyu77737.com/wenda/5824.html#'><img src='http://i3.mifile.cn/a4/T1rQAgB7Av1RXrhCrK.jpg'> </a> <h3><a href='http://www.baoyu77737.com/wenda/5824.html#'>小米路由器3</a> </h3> <p class='desc'>四天線設計,更安全穩定</p> <P class = 'price'>149元</P></li><li> <a href='http://www.baoyu77737.com/wenda/5824.html#'><img src='http://i3.mifile.cn/a4/T1rQAgB7Av1RXrhCrK.jpg'> </a> <h3><a href='http://www.baoyu77737.com/wenda/5824.html#'>小米路由器3</a> </h3> <p class='desc'>四天線設計,更安全穩定</p> <P class = 'price'>149元</P></li><li class='no-mr'> <a href='http://www.baoyu77737.com/wenda/5824.html#'><img src='http://i3.mifile.cn/a4/T1rQAgB7Av1RXrhCrK.jpg'> </a> <h3><a href='http://www.baoyu77737.com/wenda/5824.html#'>小米路由器3</a> </h3> <p class='desc'>四天線設計,更安全穩定</p> <P class = 'price'>149元</P></li><li> <a href='http://www.baoyu77737.com/wenda/5824.html#'><img src='http://i3.mifile.cn/a4/T1rQAgB7Av1RXrhCrK.jpg'> </a> <h3><a href='http://www.baoyu77737.com/wenda/5824.html#'>小米路由器3</a> </h3> <p class='desc'>四天線設計,更安全穩定</p> <P class = 'price'>149元</P></li> </ul></body></html>

問題解答

回答1:

子元素被父元素包裹,父元素進行放大操作,父元素里面的子元素 作為一個整體一起放的

回答2:

不用寫瀏覽器私有前綴?

標簽: HTML
主站蜘蛛池模板: 资源县| 承德县| 寿宁县| 肥东县| 望都县| 郑州市| 耒阳市| 阳春市| 余干县| 青河县| 民丰县| 平邑县| 浮山县| 商丘市| 晋州市| 桐乡市| 永德县| 卢湾区| 邹城市| 内丘县| 晋江市| 崇明县| 泰州市| 博爱县| 邹平县| 宜丰县| 资溪县| 林州市| 原阳县| 清水河县| 台州市| 房山区| 昭苏县| 通江县| 永德县| 喀喇沁旗| 吐鲁番市| 洛南县| 星子县| 任丘市| 含山县|