E
E
Eka2018-03-05 23:06:03
css
Eka, 2018-03-05 23:06:03

How to stretch the site to full screen?

Hey! It is necessary to stretch the sign in height to fill the whole screen, but somehow nothing comes out :(
css is attached.

body, html {
    height:100%;
    min-height:100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.head {
  background-color: #D2691E;
  text-align: center;
  margin: 3px;
}

.navigation {
  align-self: flex-start;
  margin: 3px;
  background-color: lightgreen;
  width: 200px;
  text-align: center;
  height: 500px;
}

.content {
  background-color: #9df5d7;
  margin: 3px;
}

.info {
  background-color: lightBlue;
  margin: 3px;
}

.footer {
  background-color: #D2691E;
  text-align: center;
  margin: 3px;
  height: 50px;
}

The whole thing looks like this:
5a9da2e4aa951335759916.png
Many thanks in advance to everyone :z

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Konstantin Teploukhov, 2018-03-06
@blood-moon

I think he's talking about indents.

body{
margin : 0;
padding : 0;
}

M
maiskiykot, 2018-03-05
@maiskiykot

No way. Or fixed height or garden.

A
aloky, 2018-03-05
@aloky

body, html {
    height: 100vh
}

mb will help

A
Alexey10, 2018-03-05
@Alexey10

height: 100vh

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question