If you are looking to spice up 🌶 your lists in css , then the ::marker pseudo element is the perfect friend.
This element supports a selective few properties that you can override, such as the content itself (as seen in this example) or text and color properties, like font family, size etc ...
This is applicable to both unordered and ordered lists!
Please open Telegram to view this post
VIEW IN TELEGRAM
👍49🔥16❤11😎3🥰2
Hey coders! Today, I bring you a complete beginner’s guide to Sass, one of the most popular and optimized CSS pre-processors available out there. 🚀🌎
☝️ Sass stands for Syntactically Awesome Stylesheet. It is completely free and perfectly compatible with all versions of CSS. Being a pre-processor, Sass extends the default capabilities of CSS and enables us to use programming language features in our code. 🦄
Some key features of Sass include:
🏷 Variables: Store reusable values like colors, fonts, or any CSS value to make your stylesheets more maintainable. Example: $primary-color: #333;
🪜 Nesting: Nest your CSS selectors in a way that follows the same visual hierarchy of your HTML, making your styles more readable.
🧩 Mixins: Create reusable blocks of styles that can be included in other selectors. They can accept arguments for dynamic behavior. Basically reusable CSS blocks, include with @include.
🧮 Functions: Define reusable functions that return a value, useful for calculations or value manipulations, normally being used within CSS properties. Sass also provides with some built-in functions, such as “darken($color, $amount)” which makes a color darker or “percentage($number)” which converts a number to a percentage.
📦 Modules: Just like any other programming language, Sass lets you organize your code into separate files and use the @use rule to load them, helping to keep your styles maintainable.
👑 Inheritance: Share a set of CSS properties from one selector to another using the @extend directive, making your code DRY.
➕➗ Operators: Perform mathematical operations directly within your Sass code to dynamically calculate values without resorting to the calc() function.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍53❤19🔥5💅3
We might be in the middle of a CSS renaissance, but with low uptake of many modern features, Max questions if 'feature fatigue' is setting in. He also considers what we can do to ensure uptake of these nice new features and how to fit them into our thought processes.
🔗 Link to the article
Please open Telegram to view this post
VIEW IN TELEGRAM
👍29❤7🔥3
🔅 Building Responsive Websites with Canva
🌐 Author: Lachezar Arabadzhiev
🔰 Level: Beginner + Intermediate
⏰ Duration: 34m
📗 Topics: Canva, Responsive Web Design
📤 Join Webdev Training for more courses
🌀 Learn how to create a website that renders beautifully on a variety of devices and screen sizes—no coding experience required
Please open Telegram to view this post
VIEW IN TELEGRAM
👍20❤7🔥4😱4❤🔥3
Please open Telegram to view this post
VIEW IN TELEGRAM
👍18❤6
"cap" is a CSS unit which is equal to the "cap height", that is, the size of the capital letters in a font.
This helps us to easily size icons that lie next to a piece of text to perfectly match the height of the text - no more fiddling around with rem or px units 🤩
❓ Question: Do you feel this is a better approach or do you like to define a specific dimension for your items?
Please open Telegram to view this post
VIEW IN TELEGRAM
👍48❤14💯3👎2🔥1
👍11❤1
📖 Build modern responsive websites with HTML and CSS - Learning modules, mini-projects and 3 full websites
Please open Telegram to view this post
VIEW IN TELEGRAM
1👍59❤41🔥14⚡9🥰8