C
C
copal2016-03-11 23:50:16
css
copal, 2016-03-11 23:50:16

What is not valid in this code and how should it be correct?

<div class="container">
    <div class="row">
        <div class="col-md-2"></div>
        <div class="col-md-8 hotpink">
            <div class="row">
                <div class="left-side pink col-md-10"></div>
                <div class="right-side deeppink col-md-2">
                    <a href="" class="btn">отправить</a>
                </div>
            </div>
        </div>
        <div class="col-md-2"></div>
    </div>
</div>

.hotpink {
    width: 100%;
    height: 100vh;
    
    background: hotpink;
}

.pink {
    width: 100%;
    height: 100vh;
    
    background: pink;
}

.deeppink {
    width: 100%;
    height: 100vh;
    
    background: deeppink;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sinitsyn, 2016-03-11
@a_u_sinitsin

And so all the way ...

<!doctype html>
<html>
<head>
<title>title</title>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-2"></div>
        <div class="col-md-8 hotpink">
            <div class="row">
                <div class="left-side pink col-md-10"></div>
                <div class="right-side deeppink col-md-2">
                    <a href="" class="btn">отправить</a>
                </div>
            </div>
        </div>
        <div class="col-md-2"></div>
    </div>
</div>
</body>
</html>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question