AXL WebDev (@AXLWebDev) profile picture
Joined December 2011
Photo by AXL WebDev (@AXLWebDev)Photo by AXL WebDev (@AXLWebDev)Photo by AXL WebDev (@AXLWebDev)Photo by AXL WebDev (@AXLWebDev)Photo by AXL WebDev (@AXLWebDev)
Todos los productos de Adobe reimplementados desde cero, gratuitos y de código abierto → getartcraft.com/apps
508
3,343
704
27,401
3,327,634
AXL WebDev retweeted
El momento en el que todos nos dimos cuenta que el Mundial de Qatar estaba amañado. La cara de Van Dijk lo dice todo… nitter.gq/WuddhaCR7/status/17458…
221
4,403
239
57,672
2,572,021
The Moment Van Dijk knew the 2022 World Cup was rigged for Messi and Argentina.
529
10,232
414
55,093
1,690,463
Donde esconderán las cámaras? Al principio pensé que era IA... La FIFA debería de actuar contra Infantino para que dimita de una vez.
1,626
70
5,104
182,073
Also available at: css-shape.com/inner-curve/ You will have the 4 directions and you can easily adjust the variables online before copying the code!
💡 CSS Tip! Create an inner curve/notch shape using CSS mask and a few lines of code ✅ Only one element ✅ No pseudo-element ✅ Works with gradients & images ✅ Optimized with CSS variables Demo: codepen.io/t_afif/full/oNrMY… via @CodePen
1
28
134
6,844
¡Brutal forma de cambiar a modo oscuro tu web! Usa una animación con View Transitions. Con un poco de JavaScript y CSS. → theme-toggle.rdsx.dev
8
184
2
1,226
41,138
You seem to like the no JS char by char on scroll reveal effect nitter.gq/anatudor/status/179753… so here's a gallery of various such effects on @CodePen codepen.io/thebabydino/pen/K… - which is your fave? I oscillate between undissolve & wave.🤔 Also an entry for this week's #CodePenChallenge.
Here's a pure CSS char by char text reveal codepen.io/thebabydino/pen/M… No splitting text into individual characters! Inspired by an old Toblerone Story page, except that used JS (reasonable for cross-browser support) and was splitting the text into individual characters (yikes! 😱)
3
5
1
54
6,102
Conclusiones finales de la defensa. Recomiendo ver el vídeo porque este asunto incumbe a cualquier ciudadano.
41
1,030
186
4,858
1,484,224
Recuerdo cuando, por ser crítico con El Hormiguero, los guionistas y su presentador, me llamó una de sus hormigas por teléfono. (Adivinad cuál). Intentaba justificar las actitudes machistas y de abuso de poder del programa alegando que eran errores puntuales
357
8,299
518
25,488
4,312,486
Replying to @realitydesignrs
From what I can see, I think that has something to do with the line length changing in the animation 🤔 Here's how I've created glitchy text reveals in the past with some generated keyframes 🤙 👉 codepen.io/jh3y/pen/mdyymOR via @CodePen
1
2
35
1,921
Reminder 📢 If you're animating numbers, use this line of CSS 👇 .numbers { font-variant: tabular-nums; } It will make sure your numbers don't jump around like this example seen in the wild 🤙
39
404
26
3,790
366,921
#Angular 17 support for ViewTransitions API is 🤯🔥 Just add withViewTransitions() and unique name to component (same name in origin and destination page), eg style="view-transition-name: blog-{{blog.id}}-cover" and you're set for amazing UX!
9
32
1
308
30,909
9 tipos de peticiones HTTP explicados en un diagrama. blog.bytebytego.com/p/ep85-t…
7
492
4
2,312
157,549
#Angular Deferrable Views 👇All Critical Aspects👇 Use Case ‣ Defer loading of components, directives, pipes, and CSS within templates. How ‣ Wrap template sections in @defer blocks specifying loading conditions. Benefits ‣ Reduces initial bundle size, defers heavy components, optimizes Core Web Vitals. 👉 Why Use Deferrable Views? Performance ‣ Improves Largest Contentful Paint (LCP) and Time to First Byte (TTFB). Best Practices ‣ Place potentially layout-shifting defer-loaded components below the fold. 👉 Deferrable Dependencies Criteria ‣ Must be standalone. ‣ Shouldn't be referenced outside @defer blocks, including ViewChild queries. ‣ Supports both standalone and NgModule-based transitive dependencies. 👉 Deferrable View Blocks Main @ defer Block ‣ Lazily loads content upon specific triggers. @ placeholder Block ‣ Shows content before triggering @defer. Prevents fast flickering. @ loading Block ‣ Displays during loading of deferred dependencies. @ error Block ‣ Shows content if deferred loading fails. 👉 Triggers and Conditions on Trigger ‣ Specifies conditions like interaction, viewport entry, or timer. Condition ‣ Imperative boolean expression triggering content swap. 👉 Prefetching Purpose ‣ Fetch resources before they are needed. Mechanism ‣ Uses prefetch keyword with when and on for advanced behaviors. 👉 Testing @ defer Blocks Tool ‣ TestBed APIs for testing different states. Process ‣ Manually transition between states in tests. 👉 Behaviour with SSR and SSG ‣ Renders @ placeholder or nothing ‣ Ignores triggers on server. 👉 Behaviour with NgModule ‣ Compatible with both standalone and NgModule-based entities. ‣ Only standalone entities are deferred; NgModule-based entities load eagerly. 👉 Nested @defer Blocks and Layout Shifts Cascading Loads ‣ Avoid same-time triggering in nested blocks. CLS Impact ‣ Best to not defer components visible on initial load. Code Examples and more in depth guide available in official docs! -> angular .dev/guide/defer
2
23
2
123
10,396
#Angular 17 includes a new API to test deferrable views using the TestBed. Within Angular Testing Library, we're adding a specific API for this soon. In the meantime, you can use the component's fixture. Side note: you don't need to upgrade ATL to use this.
3
16
114
10,514
AXL WebDev retweeted
little scrollbar experiments
20
62
4
1,074
105,802
SSO (Single Sign-On) Explained. SSO can be thought of as a master key to open all different locks. It allows a user to log in to different systems using a single set of credentials. In a time where we are accessing more applications than ever before, this is a big help to mitigate password fatigue and streamlines user experience. To fully understand the SSO process, 𝗹𝗲𝘁’𝘀 𝘁𝗮𝗸𝗲 𝗮 𝗹𝗼𝗼𝗸 𝗮𝘁 𝗵𝗼𝘄 𝗮 𝘂𝘀𝗲𝗿 𝘄𝗼𝘂𝗹𝗱 𝗹𝗼𝗴 𝗶𝗻𝘁𝗼 𝗟𝗶𝗻𝗸𝗲𝗱𝗜𝗻 𝘂𝘀𝗶𝗻𝗴 𝗚𝗼𝗼𝗴𝗹𝗲 𝗮𝘀 𝘁𝗵𝗲 𝗶𝗱𝗲𝗻𝘁𝗶𝘁𝘆 𝗽𝗿𝗼𝘃𝗶𝗱𝗲𝗿: 𝟭) 𝗨𝘀𝗲𝗿 𝗿𝗲𝗾𝘂𝗲𝘀𝘁𝘀 𝗮𝗰𝗰𝗲𝘀𝘀 First, the user would attempt to access the Service Provider (LinkedIn). At this point, a user would be presented with login options, and in this example, they would select "Sign in with Google". 𝟮) 𝗔𝘂𝘁𝗵𝗲𝗻𝘁𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗿𝗲𝗾𝘂𝗲𝘀𝘁 From here, the Service Provider (LinkedIn) will redirect the user to the Identity Provider (Google) with an authentication request. 𝟯) 𝗜𝗱𝗣 𝗰𝗵𝗲𝗰𝗸𝘀 𝗳𝗼𝗿 𝗮𝗰𝘁𝗶𝘃𝗲 𝘀𝗲𝘀𝘀𝗶𝗼𝗻 Once the Identity Provider (Google) has received the request, it will check for an active session. If it doesn't find one, authentication will be requested. 𝟰) 𝗨𝘀𝗲𝗿 𝘀𝘂𝗯𝗺𝗶𝘁𝘀 𝗰𝗿𝗲𝗱𝗲𝗻𝘁𝗶𝗮𝗹𝘀 At this stage, the user will submit their login credentials (username and password) to the Identity Provider (IdP). 𝟱) 𝗜𝗱𝗣 𝘃𝗲𝗿𝗶𝗳𝗶𝗲𝘀 𝗰𝗿𝗲𝗱𝗲𝗻𝘁𝗶𝗮𝗹𝘀 The Identity Provider will then verify the submitted credentials against its User Directory (database). If the credentials are correct, the IdP will create an authentication token or assertion. 𝟲) 𝗜𝗱𝗣 𝘀𝗲𝗻𝗱𝘀 𝘁𝗼𝗸𝗲𝗻 𝘁𝗼 𝗦𝗲𝗿𝘃𝗶𝗰𝗲 𝗣𝗿𝗼𝘃𝗶𝗱𝗲𝗿 Once the token or assertion has been created, the IdP sends it back to the Service Provider confirming the user's identity. The user is now authenticated and can access the Service Provier (LinkedIn). 𝟳) 𝗔𝗰𝗰𝗲𝘀𝘀 𝗴𝗿𝗮𝗻𝘁𝗲𝗱 𝘂𝘀𝗶𝗻𝗴 𝗲𝘅𝗶𝘀𝘁𝗶𝗻𝗴 𝘀𝗲𝘀𝘀𝗶𝗼𝗻 Since the Identity Provider has established a session, when the user goes to access a different Service Provider (eg; GitHub), they won't need to re-enter their credentials. Future service providers will request authentication from the Identity Provider, recognize the existing session, and grant access to the user based on the previously authenticated session. SSO workflows like the above operate on SSO protocols, which are a set of rules that govern how the IdP and SP communicate and trust each other. Common protocols include Security Assertion Markup Language (SAML), OpenID Connect, and OAuth.
18
779
6
3,239
342,688
Local Change Detection in Angular (component level) 🤔? - How does it work currently? When using async pipe or the signals in the template, Angular will use cdr.markForCheck() underneath. That function will mark the component for check and all its parents until it reaches the root component. Then zone.js triggers appRef.tick() and Angular goes and re-renders all the dirty components. - How will it work with local change detection? When using a signal in the template, and that signal changes, angular will mark only that component that changed for check (and not its parents). Then, zone.js triggers appRef.tick() again, and Angular goes and re-renders all the dirty components (which in our case is only the cmp with changed signal); This is one of the biggest improvements signals has brought to Angular 🔥 #angular
While you're still waiting for the secret to drop, here's something that will affect your apps for gooood 🔥!! Angular just got local change detection when using signals 🤯🤯🤯🤯🤯🤯🤯!!!! github.com/angular/angular/p… #angular
14
39
2
238
52,453
AXL WebDev retweeted
Scroll Detection, that’s something you need JS for, right? Guess again! Thanks to Scroll-Driven Animations you can extract the scroll velocity, allowing you to style elements based on the active scroll direction and scroll speed 🤯 Article with demos: bram.us/2023/10/23/css-scrol…
12
167
12
1,008
108,644
Here is an interactive demo where you can update the text content and see how the shape reacts. Demo: codepen.io/t_afif/full/ZEwOZ… via @CodePen #CSS
💡 CSS Tip! Place your text inside a responsive ribbon shape using a few lines of code. ✅ Only one element ✅ No pseudo-elements ✅ Works with multi-line text Demo: codepen.io/t_afif/full/XWOKE… via @CodePen #CSS
5
2
27
5,931