小编use*_*r94的帖子

如何仅从左到右扩展

这是我的css代码

 body
 {
  transform: scaleX(0.67);
 }
Run Code Online (Sandbox Code Playgroud)

在这个我的整个网站从右和左缩小.但我只需要从左侧缩放我该怎么做

html css scale css3

3
推荐指数
2
解决办法
1681
查看次数

仅缩放背景图像

我只想缩放背景图像

.prod_img:hover {
  webkit-transform: scale(1.04);
  -moz-transform: scale(1.04);
  -o-transform: scale(1.04);
  -ms-transform: scale(1.04);
  transform: scale(1.04);
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  -ms-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
}

.prod_img {
  content: ' ';
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  -ms-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
  height: 580px;
  width: 300px;
}

.protransparentbg {
  position: absolute;
  background: rgba(51, 51, 51, .8);
}
Run Code Online (Sandbox Code Playgroud)
<<div id="prod_main">
  <div id="product_content">

    <li class="prod_img …
Run Code Online (Sandbox Code Playgroud)

html css

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

css ×2

html ×2

css3 ×1

scale ×1