styling the V1 component
This commit is contained in:
parent
3fe709b779
commit
ddd70aa431
|
|
@ -93,6 +93,7 @@
|
||||||
@import './blocks/icon.css';
|
@import './blocks/icon.css';
|
||||||
@import './blocks/tips-to-know.css';
|
@import './blocks/tips-to-know.css';
|
||||||
@import './blocks/google-map.css';
|
@import './blocks/google-map.css';
|
||||||
|
@import './blocks/labelled-picture.css';
|
||||||
|
|
||||||
/* ########### PAGE ############ */
|
/* ########### PAGE ############ */
|
||||||
@import './pages/demo-components.css';
|
@import './pages/demo-components.css';
|
||||||
|
|
|
||||||
10
resources/css/blocks/labelled-picture.css
Normal file
10
resources/css/blocks/labelled-picture.css
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
.homegrade-blocks-labelled-picture {
|
||||||
|
@apply relative w-full;
|
||||||
|
img {
|
||||||
|
@apply rounded-lg w-full object-cover;
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
figcaption {
|
||||||
|
@apply bg-white absolute px-8 py-2 text-center bottom-4 left-4 z-10 rounded-lg font-bold text-base;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user