AgniBits

AgniBits

Share

AgniBits โ€“ Making Tech Easy to Learn
Weโ€™re on a mission to make technology education simple, fun, and accessible.

Join us to explore coding, software, and all things tech!

06/02/2026

๐—ข๐—ฝ๐—ฒ๐—ป๐—–๐—น๐—ฎ๐˜„: powerful AIโ€ฆ or a security nightmare?
One mistake can expose everything.

#

Photos from AgniBits's post 30/01/2026

A day filled with learning, collaboration, and community spirit ๐Ÿš€
Grateful to be part of an amazing tech gathering where ideas met ex*****on.

28/01/2026

Why isnโ€™t this div centered? ๐Ÿค”
Because centering in CSS isnโ€™t just about one property; itโ€™s about context.
โŒ margin: auto only centers horizontally (and only when width is set)
โŒ text-align: center works for text, not block elements
โœ… The real MVP? Flexbox
When you want true horizontal and vertical centering, use:
display: flex, justify-content: center, and align-items: center.
Once you understand how CSS thinks, alignment problems stop being bugs and start being logic ๐Ÿ’ก

27/01/2026

Relative vs Absolute positioning: donโ€™t mix them up ๐Ÿ“Œ
๐Ÿ”น position: relative
The element stays in the normal document flow.
When you use top, left, right, or bottom, it moves relative to its original position, not the parent.
๐Ÿ”น position: absolute
The element is removed from the normal flow.
It moves relative to the nearest positioned parent (one with relative, absolute, or fixed).
If no parent is positioned, it aligns with the page itself.
๐Ÿ‘‰ Quick tip:
Use relative to slightly adjust an element.
Use absolute when you need precise control inside a container.
Follow for more bite-sized web dev concepts ๐Ÿš€

26/01/2026

Stop calling DevOps a "Programming Language"! ๐Ÿ™…โ€โ™‚๏ธ
Many people think DevOps is just a tool you download or a language you learn. Spoiler: Itโ€™s not! Itโ€™s a culture that bridges the gap between those who build the software (Developers) and those who keep it running (Operations).
By using automation, DevOps engineers ensure your favorite apps are:

๐Ÿš€ Fast to update

๐Ÿ›ก๏ธ Crash-free

โœ… Error-free

Did you know this? Let us know in the comments! ๐Ÿ‘‡
Don't forget to follow for more tech insights!

25/01/2026

Margin and padding might look similar, but they do very different jobs in CSS ๐Ÿ‘€
๐Ÿ‘‰ Margin creates space outside an element, pushing it away from others.
๐Ÿ‘‰ Padding creates space inside an element, between the content and its border.

Understanding this small difference can save you hours of layout confusion and help you build cleaner, more consistent designs. ๐Ÿ’ปโœจ

23/01/2026

May Goddess Saraswati bless us with clarity of thought, wisdom in learning, and creativity in all we do.
Wishing you a peaceful and prosperous Saraswati Puja. ๐ŸŒธ

21/01/2026

โœจ Clean CSS = Scalable & Maintainable Code โœจ

Messy CSS might work today, but clean CSS saves you time, bugs, and headaches tomorrow.

This post highlights best practices that every developer should follow:
โœ”๏ธ Use meaningful class names for readability
โœ”๏ธ Write reusable components instead of repeating styles
โœ”๏ธ Maintain proper spacing and comments
โœ”๏ธ Structure your CSS for long-term scalability

Clean code isnโ€™t just about looks; itโ€™s about performance, collaboration, and future-proofing your projects. ๐Ÿš€
Write CSS that you and your team will thank you for later.

20/01/2026

Why your CSS is not working? ๐Ÿคฏ
Donโ€™t worry; itโ€™s usually not magic, just small mistakes ๐Ÿ‘‡

Most of the time, CSS issues happen because of:
โ€ข Selector mismatch
โ€ข Specificity conflicts
โ€ข CSS file not properly linked
โ€ข Browser cache not refreshed

Before blaming CSS, always inspect with dev tools, check your selectors, and hard refresh your browser.
Fix these basics and your styles will start working again ๐Ÿš€

๐Ÿ’ก Debug smart, not hard.

19/01/2026

๐Ÿšซ Common CSS mistakes beginners make

If your layouts break, styles feel โ€œout of control,โ€ or responsiveness is a struggle, chances are youโ€™re making one of these mistakes:

๐Ÿ”น Overusing !important
It may fix things fast, but it kills scalability and makes your CSS hard to maintain. Better selectors = cleaner code.

๐Ÿ”น Forgetting box-sizing: border-box
The default box model adds padding to width, causing unexpected layout breaks. border-box keeps sizing predictable.

๐Ÿ”น Using fixed widths everywhere
Fixed pixels donโ€™t play well with different screens. Flexible units and max-widths make your design responsive.

โœจ Clean CSS = maintainable, scalable, and responsive UI.
Learn the fundamentals once, and your future self will thank you.

19/01/2026

๐—œ๐˜€ ๐—ฎ ๐—ฑ๐—ฒ๐—ด๐—ฟ๐—ฒ๐—ฒ ๐—ฟ๐—ฒ๐—ฎ๐—น๐—น๐˜† ๐—ป๐—ฒ๐—ฐ๐—ฒ๐˜€๐˜€๐—ฎ๐—ฟ๐˜† ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—ป ๐—œ๐—ง ๐—ท๐—ผ๐—ฏ ๐—ถ๐—ป ๐—ก๐—ฒ๐—ฝ๐—ฎ๐—น? ๐Ÿค”๐Ÿ’ป

While society and parents might press you for that piece of paper, the industry is changing! Top tech startups and international companies care more about your skills and your GitHub profile than your marksheet.
Don't let the pressure get to you, focus on building your portfolio and learning to code! ๐Ÿš€

๐Ÿ”— Want to start coding today? Link in the comments!

18/01/2026

Ever wondered why some elements appear on top of others? ๐Ÿค”
Thatโ€™s where z-index comes in.

Think of your UI like a stack of layers ๐Ÿ“š
The higher the z-index value, the closer the element is to the userโ€™s screen.

๐Ÿ”น z-index: 1 โ†’ stays at the back
๐Ÿ”น z-index: 5 โ†’ moves forward
๐Ÿ”น z-index: 10 โ†’ sits right on top

โš ๏ธ Remember: z-index only works on positioned elements (relative, absolute, fixed, or sticky).

Mastering z-index helps you avoid layout bugs, overlapping issues, and unexpected UI behavior, especially in complex designs.

Saving this will help you later ๐Ÿ‘Œ
Follow for more CSS concepts explained visually ๐Ÿš€

Want your business to be the top-listed Computer & Electronics Service in Kathmandu?
Click here to claim your Sponsored Listing.

Website

Address

Milan Chowck, Koteshwor
Kathmandu
44600