This media is not supported in your browser
VIEW IN TELEGRAM
This pseudo-class is useful for styling elements that have no content within them.
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏1
Before: @media rules reacted to screen width (e.g. under 768px → smaller font).
Problem: components behave differently in cards, sidebars, modals — viewport alone isn’t enough.
Container Queries let CSS adapt to a parent’s size, not the whole screen.
.card { container-type: inline-size; }
@container (max-width: 400px) {
.card-title { font-size: 1rem; }
}How it works
• Mark a container with container-type.
• Use @container to style elements inside it.
• Components adapt to parent width, no global media hacks.
• Cleaner CSS, fewer JS tweaks, local responsive behavior.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🙏1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
This media is not supported in your browser
VIEW IN TELEGRAM
ردیفها، ستونها، فاصلهها رو تنظیم میکنی و در لحظه کد آماده CSS رو برمیداری و استفاده میکنی.
https://cssgridgenerator.io/
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5🔥1🙏1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
You can make the UI cleaner by reducing or removing scrollbars using the scrollbar-width property
Example of a thin scrollbar :
Example of a hidden scrollbar (the area remains scrollable):
Suitable for sidebars, data tables, chat panels, dashboards with lots of scrolls, carousels, touch interfaces.
As a result, the scroll works, but the UI looks neater.
💎 @Htmlcss_channels | #css #JavaScript #HTML
Example of a thin scrollbar :
ul {
scrollbar-width: thin;
}Example of a hidden scrollbar (the area remains scrollable):
.cards-container {
scrollbar-width: none;
}Suitable for sidebars, data tables, chat panels, dashboards with lots of scrolls, carousels, touch interfaces.
As a result, the scroll works, but the UI looks neater.
💎 @Htmlcss_channels | #css #JavaScript #HTML
❤4🔥1
🎮 CSS Hell: 15 challenging CSS puzzles
Test your CSS skills with 15 tricky puzzles where you need to align pegs with their corresponding holes by adding the right CSS properties to divs. Each puzzle presents a visual challenge that requires creative use of CSS to solve.
👉 Think you know CSS? This game will put your skills to the test with increasingly difficult challenges that will make you think outside the box.
Try it out and see how many puzzles you can solve!
https://csshell.com/
💎 @Htmlcss_channels | #css #JavaScript #HTML
Test your CSS skills with 15 tricky puzzles where you need to align pegs with their corresponding holes by adding the right CSS properties to divs. Each puzzle presents a visual challenge that requires creative use of CSS to solve.
Try it out and see how many puzzles you can solve!
https://csshell.com/
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
Forwarded from هشتگ تبلیغ تخصصی (گسترده)
🚀 برای پرواز به دنیای دادهها و تبدیل شدن به یک تحلیلگر داده آمادهاید؟
📌 برخی از مخاطبان این دوره
☑️ دانشجویان و فارغ التحصیلان تحصیلات تکمیلی
☑️ کارشناسان و مدیران فعال در کسب و کارها
☑️ علاقمندان به کسب جایگاه شغلی خوب در داخل و خارج از کشور
☑️ فارغ التحصیلان که به دنبال کسب مزیت رقابتی در بازار کار هستند
🏛 موسسه توسعه
Please open Telegram to view this post
VIEW IN TELEGRAM
ساختن وبسایتهای زیبا لازم نیست کار سختی باشه این ابزارهای آنلاین CSS آنلاین کار توسعهدهندگان را راحت میکنه
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2🔥2
This media is not supported in your browser
VIEW IN TELEGRAM
🔰 Container queries in CSS
If you have not tried out container queries yet, would highly recommend that you do
This is a relatively new CSS feature, which is similar to media queries. While media queries are based on the dimension of the entire page, container queries are specific to individual elements in a page.
👉 Here we define a "container" and conditionally style elements inside the container based on the dimensions of the container
👉 Some other examples include, when you want to style an individual card based on its size
💎 @Htmlcss_channels | #css #JavaScript #HTML
If you have not tried out container queries yet, would highly recommend that you do
This is a relatively new CSS feature, which is similar to media queries. While media queries are based on the dimension of the entire page, container queries are specific to individual elements in a page.
👉 Here we define a "container" and conditionally style elements inside the container based on the dimensions of the container
👉 Some other examples include, when you want to style an individual card based on its size
💎 @Htmlcss_channels | #css #JavaScript #HTML
❤3
Media is too big
VIEW IN TELEGRAM
Rotating 3D Slider
The logic of the slider is implemented in JS. Stylized and animated in SCSS.
👉 code
💎 @Htmlcss_channels | #css #JavaScript #HTML
The logic of the slider is implemented in JS. Stylized and animated in SCSS.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2