Is there any way I can make the border look like this image:
1
There are 1 best solutions below
Related Questions in CSS
- CSS Class is not applying to element (border width,color,and style attributes)
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
- Positioning child at bottom of parent with scroll
- Play multiple audio files in a slider
- How to set text over image?
- Website zoomed out on Android default browser
- Writing/Overwriting to specific XML file from ASP.NET code behind
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- CSS: Preventing a property to affect on element until the end of transition
- Polygon Button with pure CSS
- transform-origin doesnt apply in safari
- show/hide multiple div tags at once and change the size of the remaining div tag
- Mask the image/maps/div (circle) using css and jquery
Related Questions in BORDER
- css - triangle borders 100% of screen
- JavaFX Tooltip - border color bug
- Wrong dashed outline around a <div>
- Draw lines between divs using css border
- (Java) There are white borders around all my buttons
- Browsers truncate border values to integers
- How to make a border bottom on the right side of the element?
- VBA borders error - exact code by recorder not working
- Why does the box come out like this (padding/border/margin)?
- How to reduce table border thickness?
- Do not add border first time HTML
- Border some cells in table via CSS
- CSS: How to set up border radius cross browser (only IE8 and IE9 missing ?)
- Why has my border disappeared from around my text?
- Create a border around image when active/clicked
Related Questions in BORDER-IMAGE
- border-image not displaying properly in safari
- Border image stopped showing in Safari (OS and iOS)
- How to set a red outline border while using BorderImage
- How to Create a Circular Gradient Border Around a Circle (eclipse shape) in CSS?
- How to make CSS border-image work
- How to draw border to an imageview with Coil in Android?
- CSS body border using border image
- How to make the corners of my border image rounder in kivy
- Why doesn't all of my animated GIF border animate?
- ISSUE: Border-Image stretched on safari and not chrome
- What causes this CSS border to slice incorrectly?
- gradient Borders in CSS
- CSS Border Image: rendering a frame by rotating an image
- Center a border image element of a specific width (CSS)
- How to use modernizr for border-image
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Not exactly like in the image you provided, but at least similar. In pure CSS its hard to do this since you can't just set the
border-colorattribute to have a linear or circular gradient. However, you can try to place the image in front of a div with the correct gradient. Another option would be to useborder-image, however, I'm not 100% that this is compatible with all browsers out there.HTML & CSS (Option 1):
Note that you should change all the attributes for height and width so they suit your website. Other than that, positioning the image can be done as usual. To make the border more circular simply increase the border-radius.
Additionally, if you want the colors to be more transparent or anything, check out any sort of HEX-selector online.
HTML & CSS (Option 2):
Same as before mostly applies to Option 2 as well. Note that you cannot set a border-radius when using Option 2.
These are the 2 options that came to my mind. Try to experiment around with those and you may eventually find a satisfying solution. Maybe someone else can also help out and give better advice than me :)
Good luck!