Answer the question
In order to leave comments, you need to log in
How to get such a color through colormania with a pipette does not come out THERE IS A CODE. AS?
there is a code
<div class="technics">
<div class="technics-content2">
<a id='technics' class='technicsbtn'>Техника</a>
</div>
<div class="technics-content">
<a href="#">Iphone</a>
<a href="#">Mac Book</a>
<a href="#">Air Pods</a>
</div>
</div>
.technicsbtn {
background-color: #312f30;
color: white;
padding: 10px 14px;
font-size: 22px;
border: none;
position: relative;
}
.technics-content2 {
display: block;
position: absolute;
background: #312f30; /*background-color: #f1f1f1;*//*без этого прозрачная красота*/
z-index: 1;
left: 130px;
top: 9px;
}
.technics {
display: block;
}
/* Dropdown Content (Hidden by Default) */
.technics-content {
display: block;
position: absolute;
background: #f1f1f1;; /*background-color: #f1f1f1;*//*без этого прозрачная красота*/
min-width: 114px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
left: 125px;
top: 40px;
}
/* Links inside the dropdown */
.technics-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
Answer the question
In order to leave comments, you need to log in
1) Google "what is color encoding and what are they"
2) Google "what is transparency"
3)
Get excited 4) Google "How to learn to write so others understand you"
5) Get excited
It's not clear what you want. If you want to make the word "technique" on the same gray background as iphone .. then for the "link" with the .technicsbtn class, change the background color and text color. And for the .technics-content2 class, you can not use the background at all in this version.
If at all the "technique" should be on white, then we remove the background altogether.
If ... in general, the options are dark. What exactly is not working for you?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question