Md Habibur Rahman

Md Habibur Rahman A Passionate Front End Developer. I can provide your perfect website within all of your requirements

"Still battling to center things in CSS? 😩 Your struggle ends today! Check out these super easy modern tricks! πŸ‘‡"Centeri...
09/10/2025

"Still battling to center things in CSS? 😩 Your struggle ends today! Check out these super easy modern tricks! πŸ‘‡"

Centering elements used to be one of the most annoying tasks for web developers! But good news – with Flexbox and CSS Grid, it's actually pretty simple now.

Here are my top 3 ways to perfectly center anything:

Flexbox: Add `display: flex; justify-content: center; align-items: center;` to your container. Boom! Perfectly centered.

CSS Grid: Even easier! Add `display: grid; place-items: center;` to your container. One line, done!

Absolute + Transform: The classic. Parent `position: relative;, child position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);`

No more headaches with margin: auto or guessing games. Modern CSS makes it a breeze!

Which centering method do you use most often? Let me know!

"Ever wonder how Angular knows when to update your screen? πŸ€” It's all about Change Detection!"Angular's Change Detection...
08/10/2025

"Ever wonder how Angular knows when to update your screen? πŸ€” It's all about Change Detection!"

Angular's Change Detection (CD) might seem like magic, but it's triggered by just 3 main things:

Clicks & Inputs: Any time you interact with your app (like clicking a button or typing).

Timers: When setTimeout() or setInterval() functions finish.

Data from APIs: When your app gets new data from the server.

Basically, a helper called Zone.js watches for these events. When they're done, it tells Angular: "Hey, something changed! Time to update the view."

πŸš€ Pro-Tip for Faster Apps: Use ChangeDetectionStrategy.OnPush for your components! It tells Angular to only re-check a component when its inputs actually change, saving tons of unnecessary checks and boosting performance.

What's your favorite Angular trick for a super fast app? Let me know! πŸ‘‡

S U R M A   R I V E R ❀
22/11/2019

S U R M A R I V E R ❀

First Post 😊Top in google πŸ”₯
21/11/2019

First Post 😊
Top in google πŸ”₯

Address

Sylhet

Alerts

Be the first to know and let us send you an email when Md Habibur Rahman posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Md Habibur Rahman:

Share