无法弄清楚如何在(gdb) print (unsigned long long [4])*($rsi)
$8 = {140737488347644, 140737488347708, 140737488347714, 140737488347721}
(gdb) print (char[5])*(140737488347708)
$9 = "first"
内访问我的a
,因此div
可以在i
上更改颜色。
CODE:
:hover
.menu a {
padding: 8px;
margin-bottom: 20px;
color: #ffffff;
background-color: #18973c;
font-family: "Exo", sans-serif;
box-shadow: 0 2px 3px darkGray, 0 2px 3px lightGray;
border-radius: 5px;
width: 200px;
text-decoration: none;
text-align: center;
display: block;
}
.menu a:hover {
background-color: #ff6633;
}
<body>
<div class="row">
<div class="col-3 menu">
<a href=""> Begin Addition Quiz </a>
<a href=""> Begin Subtraction Quiz </a>
<a href=""> Begin Multiplication Quiz </a>
<a href=""> Begin Division Quiz </a>
</div>
<div class="col-9">
<h1> Get Ready To Succeed In Math! </h1>
<p>Click any button on the left to begin a mathematics quiz in that subject. Once you are finished you will be given your score!
<p>With this website, you will never fail another math test again!
</div>
</div>
不允许我访问我在上面创建的按钮。
答案 0 :(得分:0)
您的代码应该可以正常工作,由于已经有其他规则,可能会被覆盖。
如果你想要的是改变文字的颜色,那么你必须在color
background-color
属性而不是:hover
属性
.row .menu a {
padding: 8px;
margin-bottom: 20px;
color: #fff;
background-color: #18973c;
font-family: "Exo", sans-serif;
box-shadow: 0 2px 3px darkGray, 0 2px 3px lightGray;
border-radius: 5px;
width: 200px;
text-decoration: none;
text-align: center;
display: block;
}
.row .menu a:hover {
background-color: #f63;
color: red /* if you want to chang the text color */
}
&#13;
<div class="row">
<div class="col-3 menu">
<a href=""> Begin Addition Quiz </a>
<a href=""> Begin Subtraction Quiz </a>
<a href=""> Begin Multiplication Quiz </a>
<a href=""> Begin Division Quiz </a>
</div>
<div class="col-9">
<h1> Get Ready To Succeed In Math! </h1>
<p>Click any button on the left to begin a mathematics quiz in that subject. Once you are finished you will be given your score!
<p>With this website, you will never fail another math test again!
</div>
</div>
&#13;
您应该查看CSS Specificity。
您可以计算元素的特异性here
答案 1 :(得分:0)
在悬停时更改文字颜色,如下所示。
.menu a {
padding: 8px;
margin-bottom: 20px;
color: #ffffff;
background-color: #18973c;
font-family: "Exo", sans-serif;
box-shadow: 0 2px 3px darkGray, 0 2px 3px lightGray;
border-radius: 5px;
width: 200px;
text-decoration: none;
text-align: center;
display: block;
}
.menu a:hover {
background-color: #ff6633;
color:blue;
}
&#13;
<body>
<div class="row">
<div class="col-3 menu">
<a href=""> Begin Addition Quiz </a>
<a href=""> Begin Subtraction Quiz </a>
<a href=""> Begin Multiplication Quiz </a>
<a href=""> Begin Division Quiz </a>
</div>
<div class="col-9">
<h1> Get Ready To Succeed In Math! </h1>
<p>Click any button on the left to begin a mathematics quiz in that subject. Once you are finished you will be given your score!
<p>With this website, you will never fail another math test again!
</div>
</div>
&#13;