A
A
AlexSer2021-07-05 10:36:02
css
AlexSer, 2021-07-05 10:36:02

How to put an element next to a cross in Bootstrap 3?

Prompt styles. to put a square next to a cross in a Bootstrap modal, I'd be grateful!
60e2b661376ad170070129.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Golyagin, 2021-07-05
@AlexSer

If the stroke in the form of a square is around the cross, then like this:

button.close {
    border: 1px solid black;
    padding: 4px 7px;
}

And if just a cross next to it, for example like this:
.modal-header:before {
    width: 30px;
    height: 30px;
    border: 1px solid black;
    position: absolute;
    left: auto;
    right: 50px;
    top: 13px;
}

Eventually60e34f9193237539255332.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question