Image Circle Clipper CSS Editor
This tool will help you to circle-clip a div
element and place an image on it as a background-image
.
Result
CSS
HTML element
How to Use
-
Edit the
CSS
, the result can be observed right away.Please do not change
.my_object
keyword class in theCSS
.You can change it afterward on your own
HTML
page. - We can use external URL as the
background-image
source. -
To convert small local file (under 500 KB) into
base64 URI
, use this base64 image converter. Then copy and paste thebase64
to thebackground-image: url([paste here])
.But since it can be a very lengthy group of characters, it's not recommended to be used here.
Please use external URL instead.
- Click Reset button to revert it to its original state.
- Click Select button or double click the
textarea
to select theCSS
. - Click Top button to scroll up to the Result section.
- Click the
HTML
element text to select it.
Placement
On your HTML
page, the CSS
will need to be wrapped with <style>
and </style>
.
Place the styling (CSS
) on top of the element.
Trimmer
The CSS
from this tool can be compacted into a single line using this CSS
Trimmer.