I'm working on designing 2 modals for a Bootstrap themed webpage.
https://i.sstatic.net/N4gNl.png
One of the modals, the wider one, has been successfully created. Below is the CSS code:
.modal-dialog {
width: auto;
height: auto;
position: fixed;
top: 10px;
left: 10px;
bottom: 10px;
right: 10px;
max-width:900px;
}
The wider modal looks exactly how I wanted it to look with the given code.
However, I am facing an issue with the smaller modal now.
For the smaller modal, I need it to be responsive with a maximum width of 360px and maximum height of 340px.
Do I need to modify the .modal-dialog CSS specifically for the smaller modal?