-2
我正在网站上工作的地方,当我们将鼠标悬停在表格上 我的问题是:如何修复和设置背景图片我为了显示时它是动画的(因此填充增加)但不是从左到右滑动?问题与css过渡和背景图像
你有什么想法吗?
最佳,
这里是CSS代码
body .cf7-style.cf7-style-15648 {
transition: all 1.5s;
}
.sent {
background-image: url("http://www.site.fr/wp-content/uploads/2017/03/perverse-paul-serre.gif") !important ;
background-position: right bottom;
background-repeat: no-repeat;
padding-right:205px !important;
}
.col.span_12.color-dark.left{
display: flex;
justify-content: center;
align-items: center;
}
form.wpcf7-form.demo.cf7-style.cf7-style-15648:hover{
padding-right: 205px;
transition: all 0.6s ease-in-out;
}
form.wpcf7-form.demo.cf7-style.cf7-style-15648{}
body .cf7-style.cf7-style-15648{
padding-right: 10px;
}
@media only screen and (max-width: 767px){
.col.span_12.color-dark.left{
display: block;
}
form.wpcf7-form.demo.cf7-style.cf7-style-15648{
width:100%;
border:none;
padding-right:205px;
}
.col.span_12.color-dark.left{
margin-left: 10px;
}
.vc_col-sm-7.wpb_column.column_container.col.no-padding.color-dark{
display: flex;
justify-content: flex-end;
}
}
请在问题中加入任何相关的代码 –
你能更具体吗? –
谢谢你的回答。由于这是一个基于WordPress的网站,因此很难拆开一些特定的代码。但这里是与事件相关的CSS。 – Bergenist