Currently in my vue
application, I have a loop set up like this:
<div class="grid grid-cols-3 gap-14">
<article-card v-for="(article, index) in articles" :key="index" :content="article" />
</div>
Everything is working fine so far. However, I want to style the first row of the css-grid
differently - perhaps by using something like
grid-template-columns: 1fr 2fr 1.5fr;
to make them stand out more.
Does anyone know how I can achieve this? I am utilizing tailwindcss
, so maybe that could come in handy?