3 ms·
But the HTML you describe is required for the modal as you describe it. I guess I'm assuming you want something to darken the body content behind the modal, whi
by talmand 12y ago
But the HTML you describe is required for the modal as you describe it. I guess I'm assuming you want something to darken the body content behind the modal, which is what the first div would be for.
Otherwise, if you don't need the darkening div behind the modal, you can easily create a centered modal with the container being the body tag. Without flexbox. Today.
Again, I don't understand your expectations.