How to draw a triangle in CSS ?



How to draw a triangle in CSS ?..

Answer / hrpynux@gmail.com

Set a width and height of 0.
Set the border color to transparent.
Set the top border to 0.
Set the side borders to half the width.
Set the bottom border to have the full height.
Set a color for the bottom border.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

How to write css for 3rd child of every <ul> tags?

0 Answers  


What is the use of cascading style sheets?

0 Answers  


How you will create box shadow and text shadow using css3

0 Answers  


What is difference between internal and external style sheet?

0 Answers  


How to use ids to override classes in css?

0 Answers  






What is a css selector?

0 Answers  


How do I change my background?

0 Answers  


How do you hover a touch screen?

0 Answers  


How do I have a fixed (non-scrolling) background image?

0 Answers  


Where do I put css?

0 Answers  


What is top left in css?

0 Answers  


Which property is used to control the flow and formatting of text?

0 Answers  


Categories