Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

076 lesson, timestamp at 08:02 - a question relating to a negative value for the &__input margin #65

Open
hazartilirot opened this issue Nov 12, 2020 · 0 comments

Comments

@hazartilirot
Copy link

Hello to everyone!

Could any body explain me how an image i.e. a magnifier icon is able to overlap search form? I can't remember the detail relating to the matter. I can't recall if we used a negative value for a margin. Does it become possible once flex is used? The icon seems to be stuck to a right side of a form. Wow, it's really impressive! I wonder why Jonas didn't make emphasis on the feature.

If so... why does the icon hover over search field (above), not under?

The last question is unrelated to the matter but I'm also curious about the icon's background. What is the purpose in using a color? Can't icon's background be just transparent? I tried.... no difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant