Html Css js Frontend projects
9.83K subscribers
1.06K photos
137 videos
64 files
172 links
Advertisements Contact meπŸ‘‡πŸ»
@We_D5

Hello everyone you can learn interesting facts about coding in this channel πŸ’»

Perfluence
Download Telegram
πŸ’» Using box shadow in a way you might not have expected

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
πŸ€—3πŸ‘2
πŸ– Multimedia Tags In HTML
❀1
πŸ”° display: contents in CSS

These are ways to hide elements in different ways, affecting visibility, layout, or accessibility.
❀1
Did you like our channel? Do you want to request an advertisement? Now you can request an advertisement by contacting us via the ID that
πŸ‘‡
@We_D5
❀1
πŸ”° Drop Cap In CSS

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