+ 3

Triangle (Border problem|CSS)😇[Solved by ME]

Once we make a triangle using this code; .................................................................... . triangle{ width: 0; height: 0; border-left:100px solid transparent; border-right:100px solid transparent; border-bottom:100px solid #f57070; } ...................................................................... Once we obtain a simple triangle....how can we obtain a triangle with rounded corners/border radius applied to the three corners ?.... Hope u understood,😇

18th May 2021, 5:46 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
8 ответов
19th May 2021, 9:05 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 3
Ok Thanks 😇
18th May 2021, 5:53 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 3
visph U told that we cannot do what I say by css.....but I finally found a way to do it with just html & css😁
19th May 2021, 3:45 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 3
Only CSS😎
19th May 2021, 9:08 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 2
no ways with html elements ^^ the only ways to make rounded triangles displayed in html page would be: 1) display a bitmap (drawed in external software) 2) use svg to draw it (and either embed the code or the vector image) 3) use canvas to draw it
18th May 2021, 5:52 AM
visph
visph - avatar
+ 2
I did develop some by my own and some not by me..I combined some of my codes with some values of other codes...and it made it work...but It was so hard to find the exact digit....😞😇
19th May 2021, 10:34 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 1
yes, you could probably approximate some round "corners/borders" by using a mask ^^ but that's not real ones ;P anyway: show us your code to convince themselves ;)
19th May 2021, 3:50 AM
visph
visph - avatar
0
you're right... I'm wrong... without mask and with real round "corners/borders"... you're the best... if you find/compute the required transform yourself and not copy pasting someone else code ;P (but that not change the fact I was wrong^^) with your technic it seems that you could do any triangle (not only equilateral), but it would be a pain to find the correct values to each transforms and keep the correct alignement of each parts^^
19th May 2021, 9:29 AM
visph
visph - avatar