Jump to content

How do I reduce borders on mobile?

Recommended Posts

Hi I have CSS on my Brine site to increase the border width as I like chunky borders.  However the borders are too big for mobile.  Is there a way to reduce them for mobile only?

The code I'm using is :

#grid {
  margin-right:50px; 
 }
 #grid .item {
   box-sizing:border-box;
   -moz-box-sizing:border-box;
   -webkit-box-sizing:border-box;
   border-top:50px solid #fff;
   border-left:51px solid #fff;
 }

 

mylesformby.com

Link to comment
  • Replies 1
  • Created
  • Last Reply

@milowindsor you can use media query for mobile

/* CSS for only Mobile */
@media screen and (max-width:640px) {
paste your CSS here
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.