Q
Q
qmplex2017-02-09 15:49:34
css
qmplex, 2017-02-09 15:49:34

[SOLVED] Color not lengthening, block. How to fix?

Again I ask a question.
The problem is that the block is not extended.
The color should fill the bottom but it doesn't. (Sorry, I don't know how to put it).


<div class="container main">
  <row>

   <div class="col-sm-9 content">
    <div class="block-name">
      Последняя новость
    </div>
    <div class="short-story">
      <div class="col-sm-4">
        <img src="images/wm_cover.jpg" class="img-responsive">
      </div>
      <div class="col-sm-8">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
        cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
        proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
      </div>
    </div>
  </div>

   <div class="col-sm-3">
    
   </div>

  </row>
</div>

.main {
  margin-top: 60px;
  margin-bottom: 60px;
}
.block-name {
  background: #323232;
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
div.short-story {
  background: #eaeaea;
  padding: 15px;
  border: 1px solid #dfdfdf;
  height: 100%
}


66e34ad7052647009b9e804a4b2a5d22.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abdula Magomedov, 2017-02-09
@Avarskiy

an element with class col-**-** must be inside an element with class .row

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question