How to position text in the center vertically?

How to position text in the center vertically, horizontally managed, and the vertical in any way does not work .
<div class="container">
 <div class="row">
 <div class="col-md-12 col-xs-12 col-sm-12">
 <div class="nadp">
 <h1 class="lead text-center">Text</h1>
 <h2 class="lead text-center">Text 2</h2>
</div>
</div>
</div>
 </div>
July 8th 19 at 16:47
4 answers
July 8th 19 at 16:49
bostram not yet extinct?
why should he die? - eveline_Langworth54 commented on July 8th 19 at 16:52
: Yes, because the slag
the maximum can be useful for programmers, when you first create the backend and then the frontend

normal frontend eliminates the use of bostswana
in any Studio, with whom I worked, did not approve of this stool, because they then support this website, which in the case of Bostrom becomes a problem - Durward_Osinski commented on July 8th 19 at 16:55
: well, from the same bootstrap grid only is used, it is clear that the theming it does not need anyone. - eveline_Langworth54 commented on July 8th 19 at 16:58
: what I'm most pissed off when I started the path of frontends and only did what the rules sites is a grid of bostswana

imagine dozens of CMS, frameworks
each has its own file structure
always doing different developers (most certainly inept)
and I remember the pain, I had to spend hours to look for cherished a file with the right piece of code to change trehkanatnoy views two column

in a normal frontend? nothing, climbed into the css file and changed the value

I hate besttramadol - Durward_Osinski commented on July 8th 19 at 17:01
: that is the task of zaverstki of perevertkin html files you have as such was not, all was limited only edit the css?) - eveline_Langworth54 commented on July 8th 19 at 17:04
: and what the hell is on the site something "overstimate" in html?
most tasks are CSS - colors, fonts, sizes, borders, images

in html, changing the page structure, which is rare

Yes, and it is now niggle, niggle clean to protect the bloodline-buttram
I'm right and it's obvious
controlling the appearance of website should be implemented using CSS rather than replacing classes - the axiom of frontend - Durward_Osinski commented on July 8th 19 at 17:07
: what the hell is on the site anything to rule?
Controlling the appearance is implemented in a pair of html and css. That includes replacement classes and the alteration of the classes and layout. One without the other simply does not exist.
Final do not invent theories and axioms in the source theory. If you spend hours looking for the template in the cms bootstrap is not to blame here. css frameworks are great for reducing copy-paste. - eveline_Langworth54 commented on July 8th 19 at 17:10
: grow up, realize what I'm talking about
when it becomes in demand, then you will understand who needs buttram
although it is unlikely that such generally moving - Durward_Osinski commented on July 8th 19 at 17:13
Calm down, drink some water. Do not like the bootstrap - just don't use. And show that you yourself actually did. But many it helps to make a quick prototype pages and solve his problem. - shana_Haley commented on July 8th 19 at 17:16
: a person claims that it is easier to understand the endless bicycles, than 3 popular css how they can be harmonized. To change the text on two-column trehkanatnoy it's easier for a hack in css. - eveline_Langworth54 commented on July 8th 19 at 17:19
July 8th 19 at 16:51
July 8th 19 at 16:53
hmm the vertical alignment is one of the most common queries on this subject. that's right, too lazy to Google to write the query?
July 8th 19 at 16:55
https://habrahabr.ru/company/netcracker/blog/277433/ here all the details rasskazyvaetsya

Find more questions by tags HTMLCSSBootstrap