tejveer
tejveer
KPCKevin Powell - Community
Created by tejveer on 8/22/2024 in #front-end
Outline transition duration issues
Thank you, that works. Will try to understand this more.
6 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Refactored CSS
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
export default function Experiment() {
const [name, setName] = useState("");
const [insult, setInsult] = useState("");

const onSubmit = () => {
setInsult(generateInsult(name));
};

return (
<>
<div className="grid grid-rows-2 mx-auto w-[210px] h-full">
<div className="self-end flex flex-col gap-2">
<input
className="rounded-md border-solid border-orange-300 p-2 text-[1rem] outline-none"
onChange={(e) => setName(e.target.value)}
></input>
<button
onClick={onSubmit}
className="self-start rounded-md border-solid px-2 transition"
>
Submit
</button>
</div>
<div className="mt-6">{insult}</div>
</div>
</>
);
}
export default function Experiment() {
const [name, setName] = useState("");
const [insult, setInsult] = useState("");

const onSubmit = () => {
setInsult(generateInsult(name));
};

return (
<>
<div className="grid grid-rows-2 mx-auto w-[210px] h-full">
<div className="self-end flex flex-col gap-2">
<input
className="rounded-md border-solid border-orange-300 p-2 text-[1rem] outline-none"
onChange={(e) => setName(e.target.value)}
></input>
<button
onClick={onSubmit}
className="self-start rounded-md border-solid px-2 transition"
>
Submit
</button>
</div>
<div className="mt-6">{insult}</div>
</div>
</>
);
}
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Ok, I got it working with grid
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Maybe grid would've been a better option for this
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Then wouldn't I have to manually position both of the items?
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Ah yes, forgot about that
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/12/2024 in #front-end
How to get flex item to remain fixed?
Yes, that would resolve the issue since it would position it at top-left, but I wanted all the content to be centered
11 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
Thanks, you were right. I set z-index to check and it doesn't flicker as much now
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
I'll try changing its position and get back to you.
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
I haven't properly positioned the message.
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
I think that might just be it.
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
It's perfectly fine when from top
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
But either way, it's flickering too much as well
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/7/2024 in #front-end
Weird onMouseEnter behavior
Hm, gyazo doesn't seem to be capturing the opacity changes
10 replies
KPCKevin Powell - Community
Created by tejveer on 8/6/2024 in #front-end
Element not inheriting parent element's height
Thanks, will watch
42 replies
KPCKevin Powell - Community
Created by tejveer on 8/6/2024 in #front-end
Element not inheriting parent element's height
Is that supposed to be bad?
42 replies
KPCKevin Powell - Community
Created by tejveer on 8/6/2024 in #front-end
Element not inheriting parent element's height
I plan on going through Kevin's responsiveness course after I refactor the website a bit
42 replies