html - 使用html提交按钮获取CSS问题

标签 html css button

我已经从这个站点创建了 CSS 按钮 cssportal.com但在添加到我的网站后,我与最初创建的有所不同。为什么我从左侧和顶部获得边框。

原始 View :

enter image description here

但目前我得到这个:

enter image description here

我的 fiddle :Sample

最佳答案

给 CSS 一个 border: 0;...

预览

普通版和悬停版:

fiddle :http://jsfiddle.net/xm73g/3/

.wpcf7-submit {
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #FFFFFF !important;
    font-size: 15px;
    text-shadow: 1px 1px 0px #3498DB;
    text-transform:uppercase;
    padding: 10px 40px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 0;
    background: #3498DB;
    background: linear-gradient(top, #3498DB, #3498DB);
    background: -ms-linear-gradient(top, #3498DB, #3498DB);
    background: -webkit-gradient(linear, left top, left bottom, from(#3498DB), to(#3498DB));
    background: -moz-linear-gradient(top, #3498DB, #3498DB);
}

关于html - 使用html提交按钮获取CSS问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19854689/

相关文章:

Python-让按钮随机改变位置

android - 背景图像不只显示蓝色方 block

php - 我可以使用 <input type ="button"/> 提交表单值吗?

html - Symfony 3 找不到我的 CSS Assets 文件

javascript - 电子邮件地址对于导航栏来说太大了

javascript - 单击 HTML 按钮后禁用该按钮的最快方法是什么?

javascript - JSFiddle 提供的额外 CSS

javascript - 让一个DIV的一部分移出另一个DIV时消失?(CSS, JQuery, HTML)

css - Wordpress 子菜单被切断

css - 如何将内部边框添加到具有透明背景的 bootstrap 3 导航选项卡?