Skip to content

Commit

Permalink
add grow class to scale the card
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Mar 28, 2017
1 parent 4268b3c commit cfe59f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/parts/landing/cardComponent.js
Expand Up @@ -46,7 +46,7 @@ export default () => {

function Card({title, text, icon, img, height, width}){
return (
<Paper className='card'>
<Paper className='card grow'>
<div className='card-container'>
<div className="card-item">
<h2>{title}</h2><p>{text}</p>
Expand Down
3 changes: 3 additions & 0 deletions client/src/assets/stylus/global.styl
Expand Up @@ -34,3 +34,6 @@
cursor: pointer;
}
}

.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.05); }

0 comments on commit cfe59f1

Please sign in to comment.