/    Sign up×
Community /Pin to ProfileBookmark

I am Trying to make an hr with circled Image through it what should I do ?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@VITSUSAApr 05.2021 — Can you please explain the question or give any reference to understand the exact requirements?
Copy linkTweet thisAlerts:
@eltaraynorApr 05.2021 — can you explain more?
Copy linkTweet thisAlerts:
@cootheadApr 05.2021 — Hi there Firass_Barakat,

here is an example...

<i>
</i>&lt;!DOCTYPE HTML&gt;
&lt;html lang="en"&gt;
&lt;head&gt;

&lt;meta charset="utf-8"&gt;
&lt;meta name="viewport" content="width=device-width,height=device-height,initial-scale=1"&gt;

&lt;title&gt;Untitled document&lt;/title&gt;

&lt;!--
The internal CSS should be transferred to an external file
&lt;link rel="stylesheet" href="screen.css" media="screen"&gt;
--&gt;

&lt;style media="screen"&gt;
body {
background-color: #f0f0f0;
font: normal 1em / 1.5em sans-serif;
}
#line {
position: relative;
margin-top: 6.25em;
border-bottom: 0.25em solid #000; <br/>
}
#line img {
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
border: 0.25em solid #000;
border-radius: 50%;
box-shadow: 0 0 1em rgba( 0, 0, 0, 0.7 );
}
&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;div id="line"&gt;
&lt;img src="https://coothead.co.uk/images/anim2.gif" width="100" height="100" alt=""&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;


This effect [b]will not work[/b] with the hr element.

[i]coothead[/i]
×

Success!

Help @Firass_Barakat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...