Skip to content

Instantly share code, notes, and snippets.

@gdnwebmedia
Last active September 28, 2023 13:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gdnwebmedia/8debdf1ff3739ddb571cfa22bc7208f0 to your computer and use it in GitHub Desktop.
General CSS snippets for Bricks Builder
/*
Set the CSS transition to 0.4s right above the custom CSS block
*/
%root%:hover { transform: scale(1.03); }
/* subtle shadow */
%root% {
box-shadow:
0px 0.1px 0.9px rgba(0, 0, 0, 0.014),
0px 0.3px 2.1px rgba(0, 0, 0, 0.02),
0px 0.6px 4px rgba(0, 0, 0, 0.025),
0px 1.1px 7.1px rgba(0, 0, 0, 0.03),
0px 2.1px 13.4px rgba(0, 0, 0, 0.036),
0px 5px 32px rgba(0, 0, 0, 0.05)
;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment