Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* For displaying 3 columns on tablet */
- @media only screen and (max-width: 800px) {
- .gallery-columns-5 .gallery-item {
- width: 33%;
- }
- }
- /* For displaying single column on mobile */
- @media only screen and (max-width: 480px) {
- .gallery-columns-5 .gallery-item {
- width: 100%;
- }
- }
- .gallery-columns-5 .gallery-item:nth-child(5n+1) {
- clear: none;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement