Skip to content

Instantly share code, notes, and snippets.

@agusmu
Created September 9, 2013 23:18
Show Gist options
  • Save agusmu/6502818 to your computer and use it in GitHub Desktop.
Save agusmu/6502818 to your computer and use it in GitHub Desktop.
PrimaShop - Rounder Corners on Boxed Layout Container
/* give rounded corners to boxed container */
#container .container-inner {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
/* give top rounded corners to top navigation */
#topnav {
-webkit-border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
/* give bottom rounded corners to footer */
#footer {
-webkit-border-radius: 0 0 10px 10px;
-moz-border-radius: 0 0 10px 10px;
border-radius: 0 0 10px 10px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
@agusmu
Copy link
Author

agusmu commented Sep 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment