E
E
ellz2018-02-19 00:47:57
css
ellz, 2018-02-19 00:47:57

Why is the child block popping out of the parent block?

Hello. There is a code - https://codepen.io/gififi/pen/dddGYQ . Why are buttons above buttonsBlock? There is a suspicion that this is due to the buttons li a, but then how to make volumetric buttons and so that they fit into the block normally? padding: 10px;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-02-19
@ellz

.buttonsBlock{
  height: 50px;
}
.Buttons ul{
  display: flex;
  flex-direction: row;
  justify-content:space-between;
.Buttons li{
    padding: 4px;
}
.Buttons li a{
  display: block;
    padding: 10px;
    color: #ffffff;
    font-size: 18px;
    background: rgba(165,219,226,1);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question