depending upon the dimension of images but strictly in Percentage
However when I view website on mobile the s-12 part is not working
in short
the images should be listed one below the another
but displayed in squeez format
and as a result the website cannot be termed as responsive
How can I remove the classes like
class736x648 using @media
so that the page will consider only s-12
and website will be responsive
Couldn’t you just do a search and remove for all those class names in the html?
The only other opion I see is to reset all their css declarations to default in one giant ruleblock selecting them all and hope the specificity is only by the class. Like:
Sorry but I don;t have anything useful to add apart from a couple of comments which I should probably have kept to myself
Any grid that has a horizontal scrollbar in the viewport from 1170px and downwards should not be touched with a barge-pole. That is a beginners mistake of the largest magnitude.
A design that uses multiple decimal places is not really workable. I have never used decimals like that in the last 15 years and never have a problem making things fit. use 2 or 3 decimals at the most or use a design technique that doesn’t rely on such magic numbers. You are also adding width:100% to elements that have margins left and right which means they can never really fit in the space allocated.
I also notice that you scale some images smaller (the two in the middle for example) but not others which means the layout gets out of sync.Is that a good design plan?
I’m not sure why you used a grid for a design that clearly doesn’t fit into a simple grid structure. You also need to think about what happens when the page is resized and how those images scale. You need to cater the design to fit in with the best behaviour of the content you are using so plan ahead and plan carefully.
It almost seems to me that you would need something like masonry to fill all those gaps properly but again that is also overkill.
Sorry, I know the above isn’t that constructive at this stage but sometimes when you paint yourself into a corner you have to step on the paint to get out