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 8635645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:01:32+00:00 2026-06-12T10:01:32+00:00

Is this possible: to create DIVs around of current DIV? For example, some DIV

  • 0

Is this possible: to create DIVs around of current DIV?

For example, some DIV lies in the center (big circle) and other DIVs are around it (stars), like on the picture. Does CSS can achieve such tasks?

Example of positions

  • 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-12T10:01:35+00:00Added an answer on June 12, 2026 at 10:01 am

    Yes ofcourse go through this links.. link1 and link2.

    and then set the div‘s by giving postioning 🙂 cheers.

    Update: (added only chrome vendor prefix)

    HTML:

    <div class="parent">
        <div class="star topMid"></div>
        <div class="star top left"></div>
        <div class="star top right"></div>
        <div class="star midLeft"></div>
        <div class="star midRight"></div>
        <div class="star bottom left"></div>
        <div class="star bottom right"></div>
        <div class="star bottomMid"></div>
    </div>
    

    CSS:

    .parent {
        border-radius: 50%;
        width: 300px;
        height: 300px;
        position: relative;
    }
    .parent:after {
        content:"";
        border-radius: 50%;
        top: 55px;
        left: 55px;
        right: 55px;
        bottom: 55px;
        position: absolute;
        border: 1px solid red;
    }
    .star {
        position: absolute;
        width: 0px;
        height: 0px;
        border-width: 20px 20px 20px 20px;
        border-color: transparent transparent green transparent;
        border-style: solid;
    }
    .star:after {
        content:"";
        position: absolute;
        width: 0px;
        height: 0px;
        border-width: 20px 20px 20px 20px;
        border-color: transparent transparent green transparent;
        border-style: solid;
        -webkit-transform: rotate(180deg);
        top: 7px;
        left: -20px;
    }
    .top {
        top: 12.5%;
    }
    .left {
        left: 12.5%;
    }
    .bottom {
        bottom: 20%;
    }
    .right {
        right: 12.5%;
    }
    .topMid {
        top:0px;
        left:50%;
        margin-left:-25px;
    }
    .bottomMid {
        bottom: 25px;
        left:50%;
        margin-left:-25px;
    }
    .midLeft {
        top:50%;
        left:5px;
        margin-top:-25px;
    }
    .midRight {
        top:50%;
        right:5px;
        margin-top:-25px;
    }
    

    Working Fiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it practically possible to create a triangle of stars like this as below
Is this possible to create new {variable = x.something} and specify variable name dynamically?
This is just a question is it possible to create a hr tag in
It is possible to create a constant like this: http://haacked.com/archive/2007/09/16/conditional-compilation-constants-and-asp.net.aspx <%@ Page CompilerOptions=/d:QUUX %>
If it is not possible to create this list without loops, I'd be content
Is it possible to create a nested select statement something like this in mysql?
In gcc it is possible to create an anonymous struct, like this: struct test2
This is the 'add new contact' window. Is it possible to create custom data
I fear this just may not be possible, but I'm trying to create a
Alright, I'll try and make this as simple as possible. I'm trying to create

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.