-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add transfoation to card and header #2013
base: master
Are you sure you want to change the base?
Conversation
src/styles/blocks/catalog.scss
Outdated
@@ -18,8 +18,15 @@ | |||
border-radius: 5px; | |||
margin-bottom: 48px; | |||
|
|||
transition: all $duration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't use all
, list all transition properties, it is better for performance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
src/index.html
Outdated
@@ -1,5 +1,6 @@ | |||
<!doctype html> | |||
<!doctype html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<!doctype html> | |
<!doctype html> |
src/styles/blocks/catalog.scss
Outdated
|
||
&:hover { | ||
transform: scale(1.2); | ||
color: #34568b; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be nice to move color variables in constants
DEMO LINK