How to define Section position

Asked

Viewed 32 times

0

I have a bootstrap web page with 4 sections that if you use the buttons in Nav bar changes between sections, however when I click the button is not centered it eats a bit of the next If I had any tricks in css or js to keep centered when I click the button

1 answer

0

Ideally show the code so we can define, but create a class for this section and set:

position: relative;
left: -10 !important; //ou seja, a distancia necessária para não "comer" a outra section

Use the ! Port to override any other style already existing in the Section

Browser other questions tagged

You are not signed in. Login or sign up in order to post.