concept close button in category css
appears as: Close button, close button, Close button

This is an excerpt from Manning's book CSS in Depth.
6 Closes the modal when the user clicks the Close button
To see how this works, let’s reposition the Close button to the top right corner of your modal dialog. After doing so, the modal will look like figure 7.2.
To do this, you’ll declare absolute positioning for the Close button. Its parent element is modal-body, which has fixed positioning, so it becomes the containing block for the button. Edit your button’s styles to match listing 7.3.