I've been experimenting with changing the default text color using Tailwind CSS, but for some reason, it's not taking effect. I've noticed that Bootstrap is able to override the default style without any issues.
I'm fairly new to Tailwind CSS. Could someone help me understand what's happening here?
You can try editing it in CodeSandbox here
<template>
<div class="hello">
<h1 class="origintxt text-green-400">{{ msg }}</h1>
</div>
</template>
<script>
export default {
name: "HelloWorld",
props: {
msg: String
}
};
</script>
<style scoped>
.origintxt {
color: black;
}
</style>