Created
September 9, 2013 23:18
-
-
Save agusmu/6502818 to your computer and use it in GitHub Desktop.
PrimaShop - Rounder Corners on Boxed Layout Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/primashop-rounder-corners-boxed-layout-container/