skip to Main Content

Css – SASS variables into :root are not interpolated

I want to override base-font-size by calling a function, its definition is given below base-font-size variable is defined in the root export const changeBaseFontSize = (newSize: string) => { document.documentElement.style.setProperty("--base-font-size", newSize); }; Calling this function as given below changeBaseFontSize("16"); Now,…

VIEW QUESTION

Reactjs – How to resolve this issue, I want to make my image circular using tailwind css?

<div className='flex justify-between w-full'> <div className='px-1 w-full'> <img src='https://images.unsplash.com/photo-1566275529824-cca6d008f3da?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8cGhvdG98ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&w=800&q=60' alt='Pic' className='h-10 w-10 rounded-full border-2 w-full' /> </div> <p className='border-2'><span className='text-lg font-semibold'>dottt</span> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard…

VIEW QUESTION
Back To Top
Search