Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

CSS only animated exclusive accordion update 🚀 details { interpolate-size: allow-keywords; } ::details-content { transition: content-visibility, height; transition-behavior: allow-discrete; } [open]::details-content { height: auto; }

51,149 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Nine profil fotoğrafı
Nine1 yıl önce

Can you make a css based ui library called jhey/ui

Alexis Morin profil fotoğrafı
Alexis Morin1 yıl önce

What version of Chrome will have support for the ::details-content pseudo-element?

mh profil fotoğrafı
mh1 yıl önce

Probably going to be a while until this is useful, right?

Eugene Korchagin profil fotoğrafı
Eugene Korchagin1 yıl önce

God Are you magician?

Gustav Ekerot profil fotoğrafı
Gustav Ekerot1 yıl önce

where's the npm package jhey!? seriously though, would be cool with a css-only based component lib, copy paste á la shadcn

Sudhansu Bhushan Mishra profil fotoğrafı
Sudhansu Bhushan Mishra1 yıl önce

Thank you for sharing this codepen

👑 Satoshi 16px profil fotoğrafı
👑 Satoshi 16px1 yıl önce

You inspire me man!! Its crazy what you do with Css

Manu | UX UI Designer profil fotoğrafı
Manu | UX UI Designer1 yıl önce

Nice!!!!

Facundo Muoio profil fotoğrafı
Facundo Muoio1 yıl önce

Wow! Men, it is so pretty accordion. I would like to know where you learn these CSS skills.

Carlito profil fotoğrafı
Carlito1 yıl önce

Sorcery!

Benzer Videolar

American bought a Vizio Smart TV from Walmart. He took it home only to find you cannot use the TV without a Walmart account logged in You cent even turn it on and get past the first screen This is because Walmart bought Vizio and by having you sign in with your account they can like the data collected to you This TV collects everything and links it to your account - Contact details - Payment information - Subscription information - Account authentication and security information The optional data that most people just click next through is the really invasive data capturing, it includes - Viewing Data - Activity Data - Mobile App Data - Mobile Streaming Data It also uses built-in technology to analyze what’s playing on the TV in real time, including: - Audio and video programming, ads and gaming content - Content from connected devices like HDMI - Third-party apps like streaming services for movies, shows, episodes, channels, launch events - Device state details: volume, channel, picture controls, inputs, power on/off But it doesn’t stop there, it also collects - Basic identifiers: Name, email, phone, address, account credentials - Device/online identifiers: Device IDs, advertising IDs, IP/MAC addresses, model/serial numbers, firmware, Wi-Fi access points, cookies - Activity Data: Settings, inputs, clicks, impressions, operational/performance data, some content interaction details - Commercial/financial info: Purchases, subscriptions, warranties, payment cards - Internet/network activity: How you use the apps, sites, ads, and services - Mobile app and streaming data if you use the Vizio app You agree to have all this data collected from you just because you bought a TV…..

Wall Street Apes

227,054 görüntüleme • 3 gün önce

How I turn my templates into real landing pages. Works for any vibe coding platform or site. This is my full guide. I start with Gemini 3. I copy the HTML code and paste to Cursor/v0/lovable and prompt "Create a new landing page /page-name using this design but adapted to {site_name}. Replace the header and footer with the ones from my site. Adapt the whole page, keep everything: {HTML_code}" Details that can to be adapted or improved: Fonts: "Use {font_name} Google font for headings and {font_name} for body text." Icons: "Use Iconify {icon_set} icons" Colors: "Change primary color to blue. Everything else should be monotone." Bonus: "Make the outlines subtle" for a cleaner design. Animation intro/on scroll: "Animate when in view observed, fade in, slide in, blur in, element by element. Use 'both' instead of 'forwards'. Don't use opacity 0." Static to animated: "Animate details with {animate_type} and decorations.". Example types: line, beam animation, noodles, grid, sonar, etc. Background animation: "Apply the background animation using Unicorn Studio {animation_code}" Details to make your layout stand out: "Add vertical container-size lines. Add 01 02 03 number details." Stand out from generic-looking: "Make this more upscale with large tall fonts, Newsreader font and black and white agency". Adapt content: "Adapt the content to {copy and paste site texts}". Buttons: "Change main button to {code}. Add a 1px border beam animation around the pill-shaped button on hover." Adding sections like testimonials: "Adapt a new section after {section} using this code: {component code}". You can copy the code from Codepen, 21st dev or Aura. Responsiveness: "Make this responsive. Add a hamburger menu for mobile. Hide this {element} for mobile." Making forms work: "Make the form send an email to {your_email}". Payments: "Link the buy button to {LemonSqueezy payment link}". I use composer-1 for quick fixes. I finish with Claude Opus 4.5 for code reviews "Please review the code for performance and robustness". The template HTML code should give you a blueprint for all these, but I think it's important to keep iterating for your specific site.

Meng To

41,015 görüntüleme • 7 ay önce

As part of my assignment, I was tasked with designing a high-density data grid for an SEO platform. During development, our analysis of Google Analytics data revealed that the majority of our users access the platform on 13-inch display laptops. This insight necessitated optimizing the data grid for this screen size. A key challenge we encountered was the sidebar housing keyword filters, which occupied a significant portion of the available space. Since this feature was integral to the page, removing it was not an option. Even making it collapsible would have had minimal impact on the overall layout. Our initial approach involved implementing an inner horizontal scroll to accommodate additional columns. However, this solution introduced technical limitations due to the grid’s accordion UI pattern, which enables users to expand rows for detailed views. This functionality effectively split the table in half, making it difficult to synchronize scrolling across two separate grid sections within modern browsers. To address these constraints, I devised an alternative solution: implementing auto-expandable and collapsible columns based on content visibility. For instance, the "Flag" and "Performance" columns dynamically collapse by default and expand when hovered over, allowing users to access the necessary details when needed. This approach enabled us to fit all columns within a 13-inch display without relying on horizontal scrolling, ensuring a more efficient and user-friendly experience.

virgil pana

44,560 görüntüleme • 1 yıl önce