【发布时间】:2019-05-17 16:37:07
【问题描述】:
我需要联系表格7 submit 带有侧箭头的按钮悬停设计,如下图所示,该怎么做?
这是我的 CSS
[submit "submit class:test] .wpcf7 input[type="submit"],
.wpcf7 input[type="button"] {
background-color: #C2E8F5;
width: 100%;
text-align: center;
text-transform: uppercase;
margin-top: 15px;
padding: 10px;
}
/* this is contact form 7 code*/
.et_pb_button:after,
.et_pb_button:before {
position: absolute;
margin-left: -1em;
opacity: 0;
text-shadow: none;
font-size: 32px;
font-weight: 400;
font-style: normal;
font-variant: none;
line-height: 1em;
text-transform: none;
content: "\35";
}
【问题讨论】:
-
请添加你尝试过的html和css?
-
添加您的代码...
-
[提交“提交类:测试] .wpcf7 输入[type="submit"], .wpcf7 输入[type="button"] { 背景颜色:#C2E8F5;宽度:100%; text-align: center; text-transform: uppercase; margin-top: 15px; padding: 10px; } // 这是联系表格 7 代码 .et_pb_button:after, .et_pb_button:before { position: absolute; margin-left: - 1em;不透明度:0;文本阴影:无;字体大小:32px;字体粗细:400;字体样式:正常;字体变体:无;行高:1em;文本转换:无;内容: "\35"; }
标签: css contact-form-7