Answer the question
In order to leave comments, you need to log in
How to add indentation to a link?
Hello! I have such a problem. I have elements that in bootstrap are nested in row like this:
<header>
<nav>
<div class="container">
<div class="row menuBtns">
<div class="col-lg-2"><a href="">главная</a></div>
<div class="col-lg-2"><a href="">о нас</a></div>
<div class="col-lg-2"><a href="">производство</a></div>
<div class="col-lg-3"><a href="">контакты</a></div>
<div class="col-lg-1"></div>
<div class="col-lg-2"><a href="">позвонить</a></div>
</div>
</div>
</nav>
</header>
Answer the question
In order to leave comments, you need to log in
SVG, like an image, requires fixed sizes in accordance with its original parameters, in img it is the size of the thumbnail, in SVG it is the viewport of the canvas on which it was created.
And then these sizes are changed using CSS, for example max-width: 100%
. But it's so simple that it will work only with pictures, in theory with object too. It will be easier if you insert the SVG resource into the IMG, minus the possibilities, plus the adaptation, as for a beginner.
By the way, this question has nothing to do with Bootstrap.
try using flexbox to
add the property display: flex to the parent container; and justify-content: space-between (will stretch child boxes to the full width of the parent container with the same padding between them) or justify-content: space-around (almost the same as space-between, only add padding from the edge of the parent box equal to half padding between child-blocks)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question