Awesome q2a theme

How to add a border block, and the content it does not shift from original position?

0 like 0 dislike
39 views
Hello! There are 3 block in the grid of bootstrap, where the block in the middle is framed by a border, but the text in the block is shifted relative to the initial position, as can be seen relative to neighbors. How to keep the border and text to leave in place. Tried to do a border using pseudo :before :after, but I only have 2 sides closed instead of 4. Fiddle

1 of 31 of 31 of 32 of 32 of 32 of 33 of 33 of 33 of 3

.row { background: #f8f9fa; margin-top: 20px; } .col { border: solid 1px #6c757d; padding: 10px; } #col-border { border: 5px solid blue; }
by | 39 views

1 Answer

0 like 0 dislike
If don't bother, use this:

#col-border { border: 5px solid blue; padding:5px; }
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users