angell1389
KPCKevin Powell - Community
•Created by angell1389 on 11/5/2024 in #ui-ux
How to reduce the gaps between the firstRow and SecondRow, When the 2nd column height increases
I tried grid-template-rows : min-content;, that helps, But wanted to know, if ther is any better way to do this
2 replies
KPCKevin Powell - Community
•Created by angell1389 on 7/2/2024 in #front-end
When switching from one div to another the elements are jumpy why?
never mind I can see it using in the browser debugger tools
6 replies
KPCKevin Powell - Community
•Created by angell1389 on 7/2/2024 in #front-end
When switching from one div to another the elements are jumpy why?
Could u point me to documentation.
6 replies
KPCKevin Powell - Community
•Created by angell1389 on 7/2/2024 in #front-end
When switching from one div to another the elements are jumpy why?
What are the some of the default properities that exist in html elements
6 replies
KPCKevin Powell - Community
•Created by angell1389 on 7/2/2024 in #front-end
When switching from one div to another the elements are jumpy why?
Amazing, thanks for that.
6 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
not selecting textarea itself to apply styles
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
className={classes.text_area} am applying the styles for the class
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
and no, it's not "inheriting" why wouldnt it inherit?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
There is code like this inside body
body{ input,
textarea {
border-width: 0px;
font-family: Roboto, sans-serif !important;
font-weight: 400;
font-size: 0.929rem;
border-radius: 0px !important;
}
}
But I have added textarea in some other file where I am defining like this
<textarea
className={classes.text_area} and just adding class of
.text_area { resize: none; - in this case would .font-family automatically inherit because i defined font-family in text-area in the body or do I need to mention the font-family here specifically?
.text_area { resize: none; - in this case would .font-family automatically inherit because i defined font-family in text-area in the body or do I need to mention the font-family here specifically?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
Would it still consider the textarea { font: inherit } ?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
<textarea
className={classes.text_area} if there is something like this in this case, I am specifying the class .text_area {
resize: none; //or do we need specify here the font-family?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
Ok got it thanks
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
like
<div style={{font-size : 20px;}}> <textarea</textarea></div?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
Ok, the font-family should remain same for all the elements, but as for the font-size , I think should remain same everywhere, but lets say one of the parent element had font-size of 20px the if one text-area is below that parent would that inherit that font-size?
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
Whats the difference between font : inherit and font-family : inherit
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
is it the font-family : inherit
41 replies
KPCKevin Powell - Community
•Created by angell1389 on 4/12/2024 in #front-end
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
#root { textarea : {font : inherit}} is that the right syntax?
41 replies