What do you want to save?
Add Code snippet
New code examples
-
Html 2021-09-05 17:16:02
vuejs change item on scroll
<!-- If you don't use Tailwind, use css classes in <script></script> --> <template> <div v-bind:class="darkMode ? darkModeBodyClass : 'transition ease-out duration-700'"> <main> <router-view :d... Add solution -
CSS 2021-09-05 07:39:02
`@apply` cannot be used with either cannot be found, or its actual definition includes a pseudo-selector like
/* Hey! This is explained here in the docs: */ /* https://tailwindcss.com/docs/functions-and-directives#apply */ /* It's important to understand that @apply will not work for inlining pseudo-class or responsive variants of another utility. Instead, ap... Add solution -
Javascript 2021-09-01 07:28:02
tailwind react
1. npx create-react-app . 2. npm i -D tailwindcss postcss-cli autoprefixer or npm install tailwindcss@latest postcss@latest autoprefixer@latest //postcss - transform our compile css // autoprefixer - set vendor prefixes within our css automatically whe... Add solution -
Other 2021-08-31 08:45:01
card
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 <figure class="md:flex bg-gray-100 rounded-xl p-8 md:p-0"> <img class="w-32 h-32 md:w-48 md:h-auto md:rounded-none rounded-full mx-auto" src="/sarah-dayan.jpg" ... Add solution -
CSS 2021-08-27 17:47:02
tailwindcss link tag
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.1.1/tailwind.min.css" integrity="sha512-BAK6UB671tmfzrkeH1CacTvgHQ3aLAFnT2KsigdATsc5X7+3u42tb5vjmAoDiqtxphP5dNZ3cDygivTsGEJhGw==" crossorigi... Add solution