模态引导程序上2 div的图像和文本中心

时间:2019-02-07 11:16:02

标签: html css

我试图制作一个类似于这种设计的模态:

但是,我坚持定位图像和文本。

对此有什么帮助吗?

https://i.stack.imgur.com/1vUuk.png

<a data-target="#modal" data-toggle="modal">Click Here</a>

<div class="modal fade modal-mod" id="modal" tabindex="-1" role="dialog" style="display: none;" aria-hidden="true">
                                    <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal">
                                                <img src="">
                                                </button>

                                            </div>
                                            <div class="modal-body">
                                               <img src="https://cdn4.buysellads.net/uu/1/3386/1525189887-61450.png">
                                                <div class="modal-description">
                                                    <h2>T</h2>
                                                    <h3>S</h3>
                                                    <p>P</p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

0 个答案:

没有答案