diff --git a/public/react/src/modules/paths/ShixunPaths.css b/public/react/src/modules/paths/ShixunPaths.css index 0aab397e7..5ff18c917 100644 --- a/public/react/src/modules/paths/ShixunPaths.css +++ b/public/react/src/modules/paths/ShixunPaths.css @@ -68,12 +68,16 @@ overflow: hidden; display: block; border-radius: 6px; + position: relative; } .squareCard .squareImg img{ transition: all 1s; -webkit-transition: all 1s; -o-transition: all 1s; width: 100%; + position: absolute; + top: -50%; + margin-top: 67.5px; } .squareCard .squareImg img:hover{ transform: scale(1.05);