skip to Main Content

Html – How to remove tiny outlines on corners?

I am working on an input field with a gradient border on hover and focus. I came up with this snippet that technically works: <div class="rounded-lg bg-gradient-to-tr from-yellow-600 via-red-600 to-purple-600"> <input class="rounded-lg border border-gray-300 bg-clip-padding px-4 py-2 transition duration-200 hover:border-transparent…

VIEW QUESTION

Css – Why my sticky position don't work like it should be?

<div className="bg-yellow-200 z-10 "> <div className="flex flex-row h-[1000px] "> <div className="flex flex-col gap-4 w-1/2"> <div className="h-40 w-96 bg-green-200"></div> <div className="h-40 w-96 bg-green-200"></div> <div className="h-40 w-96 bg-green-200"></div> </div> <div className="w-1/2 bg-blue-400 z-50"> <div className="sticky top-0 left-0 right-0 w-40 h-40 bg-red-500 z-50">…

VIEW QUESTION
Back To Top
Search