Html 如何从上到下放置溢流阀
如何使溢出的方式,使图像从上到下剪切,而不是从下到上?如何转换通常的效果。可以尝试将图像设置为背景吗Html 如何从上到下放置溢流阀,html,css,Html,Css,如何使溢出的方式,使图像从上到下剪切,而不是从下到上?如何转换通常的效果。可以尝试将图像设置为背景吗 background:url('image.jpg') bottom center; 那么有固定高度吗?这是我唯一能思考的方法试试这个: #id { background: url('image.jpg') bottom center; width:50px; height:50px; } 您必须相应地更改高度和宽度以适合您的图像 希望这有帮助
background:url('image.jpg') bottom center;
那么有固定高度吗?这是我唯一能思考的方法试试这个:
#id {
background: url('image.jpg') bottom center;
width:50px;
height:50px;
}
您必须相应地更改高度和宽度以适合您的图像
希望这有帮助