-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