diff --git a/src/app/housing-location/housing-location.component.css b/src/app/housing-location/housing-location.component.css index e69de29..6901896 100644 --- a/src/app/housing-location/housing-location.component.css +++ b/src/app/housing-location/housing-location.component.css @@ -0,0 +1,17 @@ +.card { + transition: transform 0.2s ease, box-shadow 0.2s ease; +} + +.card-link:hover .card { + transform: translateY(-5px); + box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; +} + +.overlay { + opacity: 0; + transition: opacity 0.2s ease; +} + +.card-link:hover .overlay { + opacity: 0.1; +} diff --git a/src/app/housing-location/housing-location.component.html b/src/app/housing-location/housing-location.component.html index 21433bf..0fa1704 100644 --- a/src/app/housing-location/housing-location.component.html +++ b/src/app/housing-location/housing-location.component.html @@ -1,16 +1,18 @@ -
-
- Exterior photo of {{ housingLocation.name }} -
-
-

{{ housingLocation.name }}

-

{{ housingLocation.city }}, {{ housingLocation.state }}

- Learn More -
-
+ +
+
+ Exterior photo of {{ housingLocation.name }} +
+
+
+

{{ housingLocation.name }}

+

{{ housingLocation.city }}, {{ housingLocation.state }}

+
+
+