0
I’m sorry for the lame question, but I just started with css and I’m having a question: I will have to repeat several DIVS (with the same panel and bg-blue-Grey-100 bootstrap styles) on several pages. How do I put these two styles in a css file and refer them to my div?
A hug!
<div class="panel bg-blue-grey-100">
</div>
The right would be you learn SASS, is a pre-compiler CSS, where allows you to repurpose the styles of classes and mount others, will open you several opportunities for repurposing styles.
– Gustavo Santos
Unlike my friend Gustavo I advise you to learn pure CSS, without pre-processor, after you are good at basics and fundamentals ai vc part for SCSS, SASS etc. Until pq for this you need to do the ideal is a css override, ie a CSS part, and do not mess with the original Bootstrap SASS
– hugocsl
Face those two class you quoted
panel
andbg-blue-grey-100
do not exist in the original Bootstrap CSS as you can see on this link https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.css your question got a little confused– hugocsl
It’s just that I’m using a bootstrap Packge of ready-made styles (Theme)... There I was talking about bootstrap.... Website: https://wrapbootstrap.com/themes/admin
– Master JR