@Codewithfiza
Posted
Its a improvement that you complete this and its good too.I'd be happy to provide some feedback on using tables and the :root style effectively in CSS. To give you more targeted advice, could you share:
What specific aspects of tables are you looking to improve? How are you currently using the :root selector in your CSS? Are there any particular challenges or issues you're facing?
@alphajoeofoe
Posted
yh like can :root be used for universal reference, lke can it take fonts and other stuff and is there other ones with similar use like the roots @Codewithfiza
@Codewithfiza
Posted
The :root selector in CSS is indeed very powerful for creating universal references. Here's a breakdown: Universal Reference with :root: The :root selector targets the highest-level parent element in the DOM, which is typically the <html> element. It's often used to declare global CSS variables (custom properties).These variables can then be used throughout your stylesheet. You can set almost any type of CSS property in :root, including: Colors Font properties Sizes (for padding, margin, etc.) Layout properties Even complex values like gradients or shadows. Hope it helps you!@alphajoeofoe