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
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
Media is too big
VIEW IN TELEGRAM
⌨️ How to FETCH data from an API using JavaScript
1
⌨️ JavaScript: Array Methods Visualized
1