箱体阴影在Microsoft Edge浏览器上不起作用。我已经实现后续的部分:(我不是白痴我在顶部)箱体阴影在micosoft边缘不起作用
<meta http-equiv="X-UA-Compatible" content="IE=edge">
这是我的index.html文件的体:
<body>
<div id="wrapper">
<header>
<div id="header-inner">
<div id="logo">
<a href="index.html">body</a>
</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a id="sign-in" href="#">Sign in</a>
<span id="sign-in-menu">
<div class="arrow-up"></div>
<div class="arrow-up-top"></div>
<div class="form">
<form action="login.php" method="get">
<input type="text" placeholder="Username" name="inputUser">
<input type="password" placeholder="Password"
name="inputPass">
<!-- <input type="checkbox" name="checkbox" id="checkbox" class="css-checkbox">
<label for="checkboxG1" class="css-label">Remember me</label> COOOKKiiieeesss -->
</form>
</div>
<div class="submit-area">
<input type="submit" value="Sign up">
</div>
</span>
</li>
<li><a href="register.html">Sign up</a></li>
</ul>
</div>
</header>
</div>
悬停CSS盒子阴影代码:
header li > span input[type=submit]:hover {
-webkit-box-shadow: 0 0 0 1px #383e46;
-ms-box-shadow: 0 0 0 1px #383e46;
box-shadow: 0 0 0 1px #383e46;
}
如果你没有''在你的代码,请填入 –
为什么???它在一开始就是标准做法。 –
@Justinas,编辑过的评论..其实我的意思是补充一下 –