Aditya Kirad
Explore posts from serversRReactifluxDIAdiscord.js - Imagine an appKPCKevin Powell - CommunitySIASapphire - Imagine a frameworkPPrismaTTCTheo's Typesafe Cult
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/12/2024 in #front-end
background individual property not working similar to background shorthand
I don't why they are not giving the same results here are the jsfiddles where these properties are being used
https://jsfiddle.net/nmf1t3v8/
https://jsfiddle.net/q6kvw290/
2 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 12/13/2023 in #front-end
px and accessibility
Hey folks I came across this component library by radix called
@radix-ui/themes
they use px
for most of the css property like font-size
isn't px bad for accessibility or am I missing something3 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 12/11/2023 in #front-end
browser not understanding css correctly
31 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 10/16/2023 in #front-end
problem when using javascript to get the actual viewport height
hey folks this is my css
and this is my javascript
to get the actual viewport height but when I do scrolling I get a janky behaviour
29 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 8/21/2023 in #front-end
carousel not taking height automatically.
hey folks here is my pen.
https://codepen.io/adityakirad/pen/zYyxNMN
in this I have to explicitly set the carousel container height which I don't want I want it to take space automatically
9 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 8/1/2023 in #front-end
need help in switching `px` based media query to `em` based media query
Hey, folks after finding out that
em
is better unit to use with media-query instead of px
I have decided to switch from px
to em
based mediq query. So, lets say I have this media query in px
so, can I write it like this in em assuming user root font-size is 16px
44 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 7/30/2023 in #front-end
how to visually hide a text for people which are not screen reader
So in this video of kevin
https://www.youtube.com/watch?v=HbBMp6yUXO0&t=86s&pp=ygUiY3JlYXRpbmcgYSByZXNwb25zaXZlIG5hdmJhciBrZXZpbg%3D%3D
he created a button and added the text
menu
and a background-image to it and after doing this he added the sr-only
class due to which for normal people the text was hidden but we can still the background-image and text was still there for screen readers but in this video he didn't show the code he used in the sr-only
class8 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 7/26/2023 in #front-end
em and rem units with media queries
Hey folks in one of kevin video i saw him using em and rem units with media queries for setting max-width, min-width etc. in them why is that don't we require px unit to set the breakpoints
8 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 7/25/2023 in #front-end
click event listener automatically triggering
hey folks can anyone check this pen out the click event listener attached to slider in this code is automatically triggering which is supposed to only trigger when I click the slider.
https://codepen.io/adityakirad/pen/oNQPEGW
5 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 7/8/2023 in #front-end
need help in converting the single line typewriter effect to multiline typewriter effect
hey folks this is my code currently this is single line typewriter effect but i want multiline typewriter effect i mean one line is typed then if the content is not fitting in the single line then it jumps to next line and typewriter effect continues
https://play.tailwindcss.com/oNwPJousIY
1 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/9/2023 in #front-end
SVG still showing when the container height is 0
4 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/8/2023 in #front-end
drawer sliding animation not working
hey folks this is my code I'm trying to have sliding animation from right when drawer open and closes but it not working
4 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/7/2023 in #front-end
getting different font-size for button element in different browsers
7 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/4/2023 in #front-end
Image Overflowing from the container
4 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 6/1/2023 in #front-end
svg in the div still showing when the container height is 0
6 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 5/30/2023 in #front-end
no scrolling animation on scrolling with anchor tags
hey folks I'm doing scrolling using the anchor tags, but the problem is it instantaneously scroll to the section I mean there is no scrolling animation I tried adding the
scroll-behaviour: smooth;
to the body but it didn't worked how do I get the scrolling animation on scrolling with anchor tags3 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 5/30/2023 in #front-end
percentage width behaving weirdly
11 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 5/29/2023 in #front-end
swipe not working on the desktop screen in the carousel
hey folks this is my code for the carousel
https://mystb.in/AtmPotterTravelling
for some weird reason the swipe works in case of mobile screen but on desktop screen
1 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 5/28/2023 in #front-end
not able to style the SVG
hey folks I'm rendering an SVG using the img tag like this
now I want to change the stroke color and fill color of the SVG how do I do it
2 replies
KPCKevin Powell - Community
•Created by Aditya Kirad on 5/21/2023 in #front-end
not able to overflow the div properly
9 replies