Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:09:09+00:00 2026-06-11T19:09:09+00:00

How can you make shapes using a single HTML element? Any CSS technique can

  • 0

How can you make shapes using a single HTML element? Any CSS technique can be used as long as it’s supported in at least one browser.

Examples of shapes would be a round shape, a triangle, six-angled and so on.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:09:10+00:00Added an answer on June 11, 2026 at 7:09 pm

    I have made this fiddle with some pure html/css shapes:
    – 2 triangles using a span border
    – a circle with the help of border-radius

    Disclaimer: I was inspired from the old google application/menu bar.

    Source:

    html

    An CSS triangle pointing down:
    <span class="delta_down"></span><br>
    An CSS triangle pointing up:
    <span class="delta_up"></span><br>
    Circle:
    <span class="circle"></span>
    

    css

    span.delta_down {
            border-color: #C0C0C0 transparent transparent;
            border-style: solid dashed dashed;
            border-width: 5px 5px 0;
            display: inline-block;
            font-size: 0;
            height: 0;
            line-height: 0;
            padding-top: 1px;
            position: relative;
            top: -1px;
            width: 0;
    }
    
    span.delta_up {
            border-color: transparent transparent #C0C0C0;
            border-style: dashed dashed solid;
            border-width: 0 5px 5px;
            display: inline-block;
            font-size: 0;
            height: 0;
            line-height: 0;
            padding-top: 1px;
            position: relative;
            top: -1px;
            width: 0;
    }
    
    span.circle {
            border-radius: 50%;
            width: 10px;
            height: 10px;
            display: inline-block;
            background-color: #C0C0C0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You have 12 shapes: which you can make each out of five identical squares.
I am trying to make a map where a user can outline any shape
I can make a single row IKImageBrowserView by setting the [imageBrowser setContentResizingMask:NSViewWidthSizable]; but in
We are using a third party that has some shapes and when one of
How can I make a vertical line and horizontal markers (an L shape) using
In my application i try to make custom shapes by using addPoly , but
I am trying to generate and draw shapes using HTML 5 canvas and JavaScript.
Can some one explain me how to make a window in qt according to
I can make my program write a .dat file with an array of Node
How can make a link within a facebox window that redirects it to another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.