PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, November 9, 2022

[FIXED] How to create horizontal lines on the side with a circle between them

 November 09, 2022     css, html     No comments   

Issue

i want to draw like this with css and made it with different methods but it is not responsive and something went wrong can anyone help me to do it

i did it at last like this but also something went wrong


Solution

Is that what you want ? If yes.. there you go ^^

#container {
   display: flex;
   align-items: center;
}

.line {
  background-color: black;
  height: 2px;
  width: 50px;
}

#circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid black;
}
<div id="container">
  <div class="line"></div>
  <div id="circle"></div>
  <div class="line"></div>
</div>



Answered By - Alexis
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing