Web design source code – Telegram
Web design source code
842 subscribers
218 photos
71 videos
82 files
44 links
Advertisements Contact me👇🏻
@We_D5
design web
source code free
https://news.1rj.ru/str/Web_design3
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
A recent addition to HTML and JavaScript was the Popover API - a set of useful JavaScript APIs and HTML attributes to easily create "modal" like windows inside your DOM.
3👍2
🔰 Highlight text with pure CSS.

:target-text brings precise, URL-based highlighting to modern apps without JavaScript.
1
This media is not supported in your browser
VIEW IN TELEGRAM
Sometimes it happens so you don't have enough space to display a full piece of text. In some scenarios, if the UX allows, we could truncate the text using ellipsis, and here is the snippet for how to do it easily in CSS!


⚠️ Do note that, for this to work, a defined width is required for the text element. (Saved you some hassle in debugging 😁)
1
🔰 CSS text-box-trim

Useful for consistent vertical spacing in UI components, like buttons, headers, and form elements, where extra text padding causes misalignment.
2
⌨️ A visualization of different Flexbox alignment and justification modes

One confusing part might be the difference between align-items vs align-content. The difference is visible only when flex wrap is enabled, and there are multiple flex rows.

👉 Align-items aligns the children in a particular row among themselves

👉 Align-content aligns the entire row itself relative to the Flexbox
1
⌨️ CSS: Print Friendly CSS
3
⌨️ CSS shortcuts

Save time and make your code cleaner with these CSS shortcuts.
1
💻 How to design better UI with layout grids?
1