Hello! i`m building an web application with a grading system. If the user has the highest grade, the profile pic has an little crown image added to it. How fo I do that?
Consider the following layout:
Adding to what has been said before:
where YY and XX are in pixels and represent the position relative to the top-left corner of the PictureContainer container and will need to be determined by trial-and-error to place the crown image at the right place.
You can see more information about CSS positioning here, here or here (a quick search on google will find plenty more)
Hi Márcio,
You can use one container hidden or not regarding the highest grade with the image of the crown and use css to make this container stay where you want to using"position: absolute" and then playing with the margins.
Hope this helps !
Hi Marcio,
You can use "the little crown" in a container in the position that you want and, in the Container display property define when that appears:
Something like this example.
Hope this can help.
Regards,
Ricardo
Thanks a lot! You were very helpful.