triangle using css border

.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  
  border-bottom: 5px solid black;
}

.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  
  border-top: 20px solid #f00;
}

.arrow-right {
  width: 0; 
  height: 0; 
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;
  
  border-left: 60px solid green;
}

.arrow-left {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  
  border-right:10px solid blue; 
}

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
css right triangle with border css triangle with border color triangle with css border triangle css with border css border triangle line create triangle using css border w3schools css make triangle with border css border with triangle css create triangle with border how to make triangle border in css triangle div with border css triangle with border radius border triangle with border triangle in css with border create triangle with border css border right triangle css custom border triangle style css border triangle css after how to make a triangle for a border in css how to make a triangle out of a border add border to css triangle triangle border on a div triangle css border css draw triangle border Triangle with border css triangle with borders css how to make a triangle with borders triangle border div css border triangle css triangle has border div html html add border to triangle triangle with border css how to do triangle border css how to make border div a triangle add border to triangle css how to color border for triangle in css make triangle with border css color triangle borders css border into triangle making triangle border in css css make a triangle with border create border triangle border with triangle css css use border to create triangle CSS triangle with border-radius triangle border radius css html triangle borders make triangle css border triangle css using border draw triangle on div border place triangle in the corner css css triangle triangle border draw triangle with border css triangle with borders css triangle with curve borders in css how to make a triangle border in css add triangle in css border bordered triangle css how to css triangle with css border css border on triangle callout triangle with border css div css border triangle css border triangle triangle borders css triangle border css border triangle css triangle border css triangle with border triangle using css border
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source