Alex
KPCKevin Powell - Community
•Created by Kernix on 11/5/2024 in #front-end
Which of Kevin's courses would you recommend?
Well...
Do you find CSS mystifying? Do you struggle to design responsive websites? Or are you trying to develop your skills into project architecture and build tools, that go... Beyond CSS?
In other words, it depends what your goals are, and once you know that, the answer can probably be found in the descriptions (or indeed the names) of the courses
4 replies
KPCKevin Powell - Community
•Created by vic on 11/4/2024 in #front-end
how to make a text p tag fills it from parent container
One solution would be to hardcode font size of the element in vw/vi units, but doing so breaks accessibility recommendations about allowing users to adjust don't size. Another would be using an image with an alt tag, which is also not ideal.
14 replies
KPCKevin Powell - Community
•Created by vic on 11/4/2024 in #front-end
how to make a text p tag fills it from parent container
It is possible but only via a weird hack with relatively low browser support: https://kizu.dev/fit-to-width-text/
14 replies
KPCKevin Powell - Community
•Created by luca on 10/24/2024 in #front-end
Using a CMS on a vanilla JS website??
You build your website as normal in vanilla html/CSS/js, define your custom components and templates, and then let them at it with a very simple wysiwyg editor
20 replies
KPCKevin Powell - Community
•Created by luca on 10/24/2024 in #front-end
Using a CMS on a vanilla JS website??
You might want to check out https://www.surrealcms.com/ it's somewhat limited in what it can do and requires some upfront setup from you, but you basically designate certain elements as editable using custom attributes on the html and you can design page templates so they can add blogs or whatever
20 replies
KPCKevin Powell - Community
•Created by peterpumkineaterr on 10/23/2024 in #front-end
santa hat to text how ?
An element with
position:absolute
is positioned relative to the nearest positioned ancestor. Setting position:relative
on the main element lets you position the pseudoelement relative to it; without it, it would be positioned relative to the root element, so it would be in the top left of the whole document rather than the span.27 replies
KPCKevin Powell - Community
•Created by Inna Bulatova on 10/21/2024 in #front-end
self-hosting font won't work
Impossible to know without seeing your file structure, but also, why are you renaming the font to 'main'?
Is the other text on the page also roboto? Are you able to import the other font files?
99 replies
KPCKevin Powell - Community
•Created by luca on 10/20/2024 in #ui-ux
Could you review my website please?
Each section looks alright in itself, but from an information hierarchy perspective, if this is a site for selling products, put products front and centre. It's a waste of space dedicating the entire space above the fold to an (unfortunately) unattractive image of a truck and the outside of a shop, some generic copy and a button to 'contact', especially when the next section down is a scrolling banner of logos. Brand names mean nothing if you don't sell the component I want
39 replies
KPCKevin Powell - Community
•Created by luca on 10/20/2024 in #ui-ux
Could you review my website please?
If this were a genuine commercial site, I'd want to see actual product information, not just broad categories of stuff.
39 replies
KPCKevin Powell - Community
•Created by luca on 10/20/2024 in #ui-ux
Could you review my website please?
personally, the 'free live chat' popup instantly makes me want to close the page. It's never useful for someone checking out a site
39 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
thank you very much for your help, this has been incredibly informative
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
and I can troubleshoot later
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
but it is returning an element
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
it doesn't
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
dunno where you are but it's 4am here in the UK, that's certainly a factor for me
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
that did it
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
because I'm comparing currentTime instead of currentTimeFloat, fuck me
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
I had the currentTImeFloat calculation wrong, was multplying instead of dividing; I fixed that, and it still doesn't return
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
doesn't seem to be working
191 replies
KPCKevin Powell - Community
•Created by Alex on 10/5/2024 in #front-end
Styling cells that span multiple rows
191 replies