Bootstrap columns could go wrong and look uneven when columns have different heights. Use float: left to clear out the float properties and to stack blocks to the closest side.
.col-lg-3:nth-child(5n) { clear: left; }
If you have multiple blocks (for instance, 4-column layout) use float: left pseudo-element to apply the class every 5th element 5n.
Now you can add pop-ups or modal lightbox with CSS only (and really minor single line of JavaScript) on your html, wordpress or bootstrap website, so don’t be afraid.
DEMO: CSS Modal Lightbox
×
Modal Headline
Modal description goes here.
HTML
Copy the code below and paste into your HTML document.
These 4 classes would do the job, and the last class, .animate-opacity is the animated effect when modal opens (so it’s optional).
You can tweak the animation time slower or faster by changing the speed time. It’s currently 0.8 seconds, opac 0.8s, but change it as you need it. Have fun!