OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Nextjs Project not working - So in short even after applying tailwindcss I am still getting user agent stylesheet

  • Thread starter Thread starter Kabir Potdar
  • Start date Start date
K

Kabir Potdar

Guest
Code:
<div className='flex justify-between'>Get Me a Sunscreen
      <ul>
        <li className='none'>Home</li>

this code even after applying flex i am getting elements in box class

showing that it's because of due to user agent stylesheet

  1. I have tried updating my tailwind css
  2. I have already inserted global.css in layout.js as it is react project
  3. I have checked tailwind.config.js to check it's even checking .js/.jsx extensions or not
  4. I can not override code by using CSS reset codes as even if i do that, i am still not getting inline css access to write

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code><div className='flex justify-between'>Get Me a Sunscreen
<ul>
<li className='none'>Home</li></code></pre>
</div>
</div>
</p>
<p>this code even after applying flex i am getting elements in box class</p>
<p>showing that it's because of due to user agent stylesheet</p>
<ol>
<li>I have tried updating my tailwind css</li>
<li>I have already inserted global.css in layout.js as it is react project</li>
<li>I have checked tailwind.config.js to check it's even checking .js/.jsx extensions or not</li>
<li>I can not override code by using CSS reset codes as even if i do that, i am still not getting inline css access to write</li>
</ol>
 

Latest posts

Top