Is there any way I can make the border look like this image:
1
There are 1 best solutions below
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in BORDER
- How do I add visual border, from image, that is flexible and scalable?
- set some custom csss styles in Leadpages
- I have some picture box and I don't want my main character to touch it like to stop moving
- How to prevent overflowing border creating a horizontal scroll bar?
- Node border width control in Netgraph
- create a consistent border with CSS border-image
- Remove specific border inside a table
- is there a way to make the hover function fill space follow border lines below its block element
- Why does adding a border to a parent div change its size to contain the margin of its children but not when it doesn't have border?
- Border-Top on only second nav ul li
- decorative two-colored border (css)
- Hi, I am not able to see the CSS effect on the web browse to HTML file using Visual code. I can run HTML file in chrome and can see login page
- SWT button has border by default
- Having trouble applying border images
- Border radius to create curved div
Related Questions in BORDER-IMAGE
- create a consistent border with CSS border-image
- How to Create a Circular Gradient Border Around a Circle (eclipse shape) in CSS?
- top-border with linear-gradient and radius
- I use a radial gradient color as the border of a box, but the result looks weird
- How can I show more of my border image on the bottom with css border-image?
- Is it possible to apply border-radius to border-image?
- A LOGO (image) centered within the top border in CSS (HTML)
- How can I prevent the border from showing up in the top corners of the image when using border-image?
- gradient background doesn't cover under border image
- gradient Borders in CSS
- What causes this CSS border to slice incorrectly?
- Why doesn't all of my animated GIF border animate?
- Using border-image causes boder-radius to be ignored?
- Unwanted lines in border-image where image parts connect
- background-image-source not working with linear-gradient as per Figma
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 # Hahtags
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!