Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
psahalot
/
flat-button-styling.css
Secret
Created
Sep 10, 2016
Star
0
Fork
0
Star
Code
Revisions
1
Embed
What would you like to do?
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone with Git or checkout with SVN using the repository’s web address.
Learn more about clone URLs
Download ZIP
Flat Button Styling for BB Theme
Raw
flat-button-styling.css
/** Default State styling **/
button
,
input
[
type
=
button
]
,
input
[
type
=
submit
] {
background
:
#
428bca
;
/* Background color for button */
color
:
#
ffffff
;
/* text color */
font-size
:
14
px
;
line-height
:
20
px
;
padding
:
6
px
12
px
;
font-weight
: normal;
text-shadow
: none;
border
:
1
px
solid
#
2d6ca2
;
/* broder weight, style and color */
-moz-box-shadow
: none;
-webkit-box-shadow
: none;
box-shadow
: none;
-moz-border-radius
:
0
px
;
-webkit-border-radius
:
0
px
;
border-radius
:
0
px
;
}
/** Hover state styling **/
button
:
hover
,
input
[
type
=
button
]:
hover
,
input
[
type
=
submit
]:
hover
{
background
:
#
2d6ca2
;
color
:
#
ffffff
;
border
:
1
px
solid
#
2d6ca2
;
text-decoration
: none;
}
/** Adding some transition **/
button
,
input
[
type
=
button
]
,
input
[
type
=
submit
]
,
button
:
hover
,
input
[
type
=
button
]:
hover
,
input
[
type
=
submit
]:
hover
{
transition
: all ease-in
0.2
s
;
}
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.