如何使我的CSS下拉菜单颜色方案与正文颜色方案区分开来?

时间:2017-09-30 04:05:17

标签: html css

所以,我的新索引是here,但DropDown链接列表(当你将鼠标悬停在链接东西上,你会看到它)在我网站的博客部分{ {3}}不会改变。你能帮忙的话,我会很高兴。这是我网站的菜单栏,其链接列表设置为小部件,因为它是一个附加到网站本身的博客博客:

<style type="text/css">
ul{
list-style-type: none;
margin: 0px;
padding: 150px;
overflow: hidden;
background-color: transparent;
position: absolute;
top: -79px;
left: -703.8px;
width: 940px;
font-size:19px;
font-family: Geo;
}

li {
float: left;
text-align: center;
color: #FF733B;
background-color: transparent;
}

li a {
float: left;
display: block;    
padding: 20px;
color: #F2F2F2;
transition: .5s;
text-decoration: none;
background-color: transparent;
}

.dropbtn {
background-color: transparent;
color: #efefef;
padding: auto;
font-size: 12px;
border: none;
cursor: pointer;
}

.dropdown {
float: left;
display: relative;
font-color: #000;
}

.dropdown-content {
display: none;
position: fixed;
background-color: #f9f9f9;
min-width: 260px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
top: 65px;
z-index: 4;
}

.dropdown-content a {
color: #000;
padding: 8px 10px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
transition: .4s;
background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
display: block;
}

.dropdown:hover .dropbtn {
background-color: transparent;
}
</style>
<p align="center">
<div class="table">
<ul>
<li><a href="http://www.substructures.us/index.html">Home</a></li><li><a href="http://www.substructures.us/data.html">DATA</a></li><li><a href="http://www.substructures.us/about.html">About</a></li><div class="dropdown">
<li class="dropbtn"><li><a href="http://www.substructures.us/stuff.html">Stuff</a></li>
<div class="dropdown-content">
<a href="http://www.substructures.us/nightcore-creator.html">NIGHTCORE Creator</a>
<a href="http://www.substructures.us/artwork.html">Artwork</a>
<a href="http://blog.substructures.us/">BLOG</a>
</div></li></div></ul></div></p>
<a href="http://www.substructures.us/index.html"><img style="float: right; margin: -69.9px -8.5px 0px 75px; height: 125.5%; width: 125.5%;" src="http://www.substructures.us/substructures2.png" /></a>

0 个答案:

没有答案