@JLRDW - My code is inside a vue component with scoped style set to true so it has to be loading:
Here is my full component:
<template>
<section class="PAGEcard1_maincontainer">
<h1 class="PAGEcard1_title">{{ page.title }}</h1>
<div class="PAGEcard1_item_container">
<div class="PAGEcard1_item_image_big" v-if="page.image" :style="'background-image:url('+page.image+');'"></div>
<iframe class="PAGEcard1_item_image_big" :src="page.video" v-if="page.video"></iframe>
<div class="PAGEcard1_item_description_container">
<div class="PAGEcard1_item_description_text" v-html="page.description"></div>
<div class="PAGEcard1_item_description_stripe_container">
<div class="PAGEcard1_item_description_stripe_small"></div>
<div class="PAGEcard1_item_description_stripe_big"></div>
</div>
</div>
<div class="PAGEcard1_item_paragraph" v-html="page.body"></div>
</div>
</section>
</template>
<!--SCRIPTS-->
<script>
import axios from 'axios';
export default{
name: 'PAGEcard1',
props: {
page: {required:true}
},
mounted () {
console.log(this.$options.name+' component successfully mounted');
},
}
</script>
<!--STYLES-->
<style scoped>
.PAGEcard1_maincontainer{width:100%; min-height:700px;}
.PAGEcard1_title{font-size:27px; color:var(--web_primary_color); font-weight:800; margin:20px 0px;}
.PAGEcard1_item_container{width:100%; height:auto; display:flex; flex-direction:column; margin:25px 0px;}
.PAGEcard1_item_image_big{width:100%; height:400px; display:flex; background-size:cover; background-position:center; box-shadow:3px 3px 3px rgba(0,0,0,0.2);}
.PAGEcard1_item_image_small{width:100%; height:350px; display:flex; background-size:cover; background-position:center; box-shadow:3px 3px 3px rgba(0,0,0,0.2);}
.PAGEcard1_item_image_description{font-size:13px; color:rgba(0,0,0,0.7); width:80%; margin:10px 0px; line-height:16px;}
.PAGEcard1_item_description_container{width:95%; height:auto; align-self:center; margin:20px 0px; padding:20px; display:flex; align-items:center; background-color:rgba(0,0,0,0.1); position:relative;}
.PAGEcard1_item_description_text{color:rgba(0,0,0,0.8); font-size:14px;}
.PAGEcard1_item_description_stripe_container{width:10px; height:100%; display:flex; position:absolute; top:0px; left:-10px;}
.PAGEcard1_item_description_stripe_big{width:75%; height:100%; background-color:var(--web_primary_color);}
.PAGEcard1_item_description_stripe_small{width:25%; height:100%; background-color:none;}
.PAGEcard1_item_paragraph{font-size:15px; color:rgba(0,0,0,0.8); font-weight:500; line-height:35px; margin:50px 0px;}
.PAGEcard1_item_paragraph img{width:700px !important; height:auto;}
</style>