M
M
Michail_gore2018-11-21 04:50:51
css
Michail_gore, 2018-11-21 04:50:51

Is my ul not responding to padding?

Hello everyone again! Thank you very much for your help with SlideToggle , I figured it out, there seems to be no problem.
Need help with the menu, pliz, no matter how you set the value of ul to it, the code does not respond to paddings, the same with li.
In general, I'll throw off the code, you just need to see why the menu does not respond to paddings:
HTML:
Future site fucked up
ETS.png
if_th-menu-outline_216423.png

  • Portfolio
  • Services
  • Contacts

CSS:
.container1{
background-color: #000;
padding:15px;
margin: auto;
}
.fucklogo{
display:block;
}
.fuckmenue ul{
float:right;
margin:0;
padding:0;
}
.fuckmenue a {
text-decoration: none;
color: #898885;
-webkit-transition: all .25s;
-moz-transition: all .25s;
-o-transition: all .25s;
transition: all .25s;
}
.fuckmenue a:hover {
background-color: #1f1f1e;
}
.fuckmenue ul li {
display: inline-block;
padding:0.40px,0.40px;
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jupiter Max, 2018-11-21
@Michail_gore

who writes padding:0,40px,0,40px like that; ))
like this padding:0 40px 0 40px;

A
Alexander Alexandrov, 2018-11-21
@lyaksay

Dude, this is all solved by viewing the styles in the browser console. For the future, I also wanted to say that it is better to post any code with a link to online editors like Codepen, so no one will even look at it and this is indicated in the rules of the resource

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question