Box shadows in CSS can be layered. You can apply multiple box shadows for the same element. This is generally used for a rich and realistic box shadow, but what's stopping us hacking this π€
βͺοΈ Here we create a box shadow with 0 blur and some offset to create a duplicate layer
βͺοΈ Then we create a similar layer but a pixel more of spread, to create a pseudo border
βͺοΈ Finally another actual box shadow layer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π38β€18π7π2
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯35π13β€9π₯°2π2
These are ways to hide elements in different ways, affecting visibility, layout, or accessibility.
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯15π14β€2
π
Learning Regular Expressions
π Author: Kevin Skoglund
π° Level: Advanced
β° Duration: 3h 18m
π Topics: Regular Expressions
π€ Join Webdev Training for more courses
π Learn to use regular expressions to define complex text patterns that can be used for powerful search and replace techniques.
Please open Telegram to view this post
VIEW IN TELEGRAM
π25β€8
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β€3
Drop cap is a typography technique where the first letter of a new chapter is dropped to occupy multiple lines. You may be familiar with this through books!
π₯ In CSS, this can be achieved through the initial-letter property, with a value indicating the number of lines to drop the character to
This property works only inside the ::first-letter pseudo element (and some other exceptions)
This also supports a multi value syntax of the format initial-letter: 3 2; where 2 indicated to have the baseline at line 2 (leave a gap of one line)
β οΈ This is not widely supported and required a vendor prefix to work in all browsers
Please open Telegram to view this post
VIEW IN TELEGRAM
π22β€13π₯6
This media is not supported in your browser
VIEW IN TELEGRAM
The cursor property in CSS supports providing simple values, like 'pointer', for predefined cursors.
Or you can even plug in your own cursors!
This would look great in games, or special applications like spreadsheets, video editors etc.
Please open Telegram to view this post
VIEW IN TELEGRAM
β€33π28π₯3
Please open Telegram to view this post
VIEW IN TELEGRAM
π21β€14π₯7
π
Figma: Designing with Variables and Conditionals
π Author: Joseph Labrecque
π° Level: Intermediate
β° Duration: 1h 1m
π Topics: Figma
π€ Join Webdev Training for more courses
π Learn how to design with flexibility using variables and conditionals in the collaborative design tool Figma.
Please open Telegram to view this post
VIEW IN TELEGRAM
π26β€4π₯2
Please open Telegram to view this post
VIEW IN TELEGRAM
π8π₯1