Posted by LF: coding help

ᴰᴿᴱᴬᴰ
[ᴹᴱᵀᴱᴼᴿá
´µáµ€á´±] (#91342)


View Forum Posts


Posted on
2020-08-06 13:04:07
i've just learned how to make css codes for dens, and now i'm trying to find out how to change my king's icon to a circular, transparent image.. i've seen people speak of it and use this:

div#lion_image {
}

but... what do i do with that? where do i add a circular shape or raise transparency?



Hrt Icon 0 players like this post! Like?

Rappadapa [G2 Torn] (#159680)

Angelic
View Forum Posts


Posted on
2020-08-21 11:14:12
I think to make it circular you need to change the border radius! Do it like border-radius: #px; or whichever number you want so that it looks like a circle

border-radius can have four properties. If you have one value set, it's for all four corners. If you have two set then the first value applies to the top-left and bottom-right corner, while the second applies to top-right and bottom-left. For three the second value will affect both top-right and bottom-left while the other two values do the top-left and bottom-right. Four values affect top-left, top-right, bottom-right, bottom-left corner in that order.

I think for opacity just do opacity: 0.5; or some number less thant 1 (1 is default, 0 is gone)



Hrt Icon 0 players like this post! Like?


Edited on 21/08/20 @ 11:16:55 by Rappadapa (#159680)

ᴰᴿᴱᴬᴰ
[ᴹᴱᵀᴱᴼᴿá
´µáµ€á´±] (#91342)


View Forum Posts


Posted on
2020-08-21 15:11:15
border radius... that sounds just about right! i'll give it a shot, i'm gonna test it out..



Hrt Icon 0 players like this post! Like?

ᴰᴿᴱᴬᴰ
[ᴹᴱᵀᴱᴼᴿá
´µáµ€á´±] (#91342)


View Forum Posts


Posted on
2020-08-21 15:26:44
still confused.. can't figure out what the image URL for the lion icon is, it comes up as blank?

"https://static.lioden.com/images/blank.png"
i can't resize or add a border..



Hrt Icon 0 players like this post! Like?







Memory Used: 623.61 KB - Queries: 2 - Query Time: 0.00088 - Total Time: 0.00438s