Bill A. Llach

Bill A. Llach

@tonyllach.bsky.social

Front-end Engineer Website -> billantony.com

30 followers138 following42 posts

Just launched my new portfolio site/blog! πŸŽ‰ After a lot of thinking and procrastination haha I finally released my personal portfolio out there in the World Wide Web This is the first blog I truly own and I feel very happy to share the things I've learned in that way The styles are very minimal πŸ‘‡

Take a look here and let me know your thoughts! billantony.com Tech stack: * Plain HTML 🟠 * Plain CSS πŸ”΅ * Jekyll -> Static site generation πŸ”΄ * No Javascript πŸ™… I like this simple approach and hope to take this initial website design a lot further down the road Great day! ✌️ SDG.

how to do that effect of having the text color be the inversion of its background? 🎨 Only CSS is needed: ``` mix-blend-mode: difference; ``` On the parent element that defines the color ✌️ SDG

Weird Scrollbar in your announcements banner of your #Shopify store? 🟒 Not an issue anymore I found this beautiful designed Shopify store for Detour Coffee Roasters detourcoffee.com But I noticed they had this annoying scrollbar in their announcement bar and I decided to do smth about it πŸ‘¨β€πŸ’» πŸ‘‡πŸ‘‡πŸ‘‡

The fix is very easy! just add `overflow-y: hidden` to the overflowing container How do you know which one is the "overflowing container"? Well, you can inspect and see the one that has a width bigger than the page width or the one that has a `overflow` property set πŸ‘‡πŸ‘‡πŸ‘‡

In this case, I knew this container was the one because it had a `overflow-x: hidden` There you go! Fixed One of my main goals is to help #Shopify merchants with their existing stores so they don't have this kind of bugs So if you are one, feel free to reach out πŸ‘‹ SDG

Although transforming properties other than `transform` and `opacity` is not so great for performance really because by changing any other property will trigger repainting πŸ™ƒ But, this is the only choice for now πŸŽ‰

Outlines not showing up when tabbing to it? πŸ™… Having outlines when the user tabs to an interactive element is very important to make websites #a11y (accessible) This especially important for links At work, I had this task where I needed to add focus outlines on a link block (card) Continue πŸ‘‡

It was a strange situation because the outlines were actually set in the element ``` a:focus-visible { outline: 2px solid Highlight; } ``` Still, the outlines didn't show up when focusing by keyboard After inspecting and googling, I discovered the issue Parent element with `overflow: hidden`

New Web CSS Design Tip! βœŒοΈπŸ’» Use environment variables in CSS for changing the display of your web elements depending on the browser navigation bar (for iOS expecially) The vars are: env(safe-area-inset-top); env(safe-area-inset-right); env(safe-area-inset-bottom); env(safe-area-inset-left);

When you scroll up (in Safari on iOS) you'll see the browser bar in the bottom of the website, covering the content of the website πŸ™… (See 1st image) To prevent your content to be covered by the browser bar, use the env variable named safe-area-inset-bottom (See 2nd image) βœ… SDG.

How to Show the Blogs page in your #Shopify storefront So, I've seen merchants struggling with the fact that after they create their blog posts, they can't see it in their Shopify site Thankfully, the solution is simple This steps can be replicated in almost any theme 1. Go to Content

View full thread

How to Show the Blogs page in your #Shopify storefront So, I've seen merchants struggling with the fact that after they create their blog posts, they can't see it in their Shopify site Thankfully, the solution is simple This steps can be replicated in almost any theme 1. Go to Content

View full thread

How to Show the Blogs page in your #Shopify storefront So, I've seen merchants struggling with the fact that after they create their blog posts, they can't see it in their Shopify site Thankfully, the solution is simple This steps can be replicated in almost any theme 1. Go to Content

How to know the page where a script is running in Javascript Solid way to do it is by reading the URL `const pathname = window.location.pathname;` That'll get you smth like: "blog/dubai-summer-surprises-maximize-revenue-stripe" If you want only the last piece: `pathname.split("/").at(-1)` SDG

Make sure your scrollable containers are focusable If you have a scrollable horizontal section β€” pretty popular nowadays β€” please, make that container focusable

! It is unaccessible to have a scrollable element that can’t be focused by keyboard Continue in the next thread... #a11y

You are up to date.