diff --git a/src/index.html b/src/index.html index fe56e4e..7ea1149 100644 --- a/src/index.html +++ b/src/index.html @@ -329,8 +329,8 @@
Fork Subscription Pricing
Students
$29
@@ -342,7 +342,7 @@Professional
$59
@@ -354,7 +354,7 @@Agency
$99
@@ -366,7 +366,7 @@Enterprise
$159
diff --git a/src/scss/_pricing.scss b/src/scss/_pricing.scss index 2686207..3592843 100644 --- a/src/scss/_pricing.scss +++ b/src/scss/_pricing.scss @@ -21,12 +21,19 @@ height: 450px; transition: $hover-duration; + @media all and (max-width: $desktop-xl) { + margin-top: 7px; + margin-bottom: 7px; + } + &:hover { - margin-top: 70px; - margin-bottom: 75px; + @media all and (min-width: $desktop-xl) { + margin-top: 70px; + margin-bottom: 75px; + height: 530px; + } background-color: rgba(0, 0, 0, 0.06); transition: $hover-duration; - height: 530px; & > .price__title { background-color: rgba(0, 0, 0, 0.06); @@ -88,8 +95,13 @@ padding-bottom: 10px; background-color: rgba(255, 255, 255, 0.15); position: absolute; + left: 0; + text-align: center; + right: 0; bottom: 35px; - left: 20%; + margin: auto; + display: block; + width: 80%; font-family: Montserrat, sans-serif; font-weight: 500; font-size: 16px;