Yes, you can absolutely do this with SVG, as long as you’re using inline SVG code, which you’ll need a program like Adobe Illustrator to produce. You may be able to use an online tool (like this one) but I haven’t tried that.
Chris Coyier of CSSTricks.com did an excellent write up of this.
Fork his SVG codepen and play around with it to get a feel for how it works.
Good luck!
Related Posts:
- @wordpress/create-block image url in css
- How to handle a background-size: cover image in WordPress?
- How to upload and style svg logo?
- How to change background image
- How to reference a theme image in a stylesheet?
- getting uploaded SVG dimensions on front-end
- Making WordPress Gallery (.gallery-item) Responsive?
- Adding HTML within an image title attribute
- Width 100%: Aspect ratio of image
- Add CSS class to every image
- How to Make WordPress Default gallery responsive on mobile?
- Responsive background images added inline
- Featured Image .svg height and width 1px only
- How can I upload an image for background use using the Theme Editor in WordPress?
- SVG Featured image not shown in twitter
- Override img class in gallery
- Multiple amp-image overlays. How to properly do this in wordpress?
- Image not shown in the theme as it’s showing in HTML template [closed]
- Background-image not showing? [closed]
- t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor
- Custom header tiling?
- Using featured img as div background
- How do I get my main image to stretch the full length of the screen?
- Different background images on different sites [closed]
- HowTo: develop WP template with dynamic background image
- How would you add sequentially numbered labels to images in posts?
- css to fit image by HEIGHT
- Allow SVG in WP step by step
- How to implement CSS-defined images from bootstrap site in wordpress theme
- a: hover issue with image issues [closed]
- All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images
- Moving an image to the side [closed]
- Random home page background images with caption text
- Image Captions Have a 10px Extra Margin, And It’s Not CSS? [duplicate]
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Image modification
- How to remove image size inline style in article and include caption
- Is there a layout to place 2 same sized images in two columns on the WordPress page?
- Fullscreen Page Background without Plugin [closed]
- Hover a css icon width other color inside wp_get_attachment_image
- Landing Page with HTML CSS JS and Images on wordpress
- I would like to set a FULL SCREEN background image to all my pages (same way it is on my home page)
- Change header image size
- Adding custom html/css/images to Theme
- Is there a way to create referable automatic numbering in image captions?
- Custom Background for each page and post
- Why do images inserted in the post content via the_content() go off the max-width?
- How can we achieve this image css style?
- Remove image border in twentyeleven theme [closed]
- How to display posts with images in fullscreen slider
- Using a full-width hero image that can be changed in the dashboard by a user
- Put image onto header
- Are WP images responsive by default?
- Image thumbnail on single product issue | WooCommerce
- Background image call problem
- all images of past post messed up after changing theme
- Custom styling Insert Media window
- Display ajax preloader for large images within posts
- An image on my site is showing as the wrong image [closed]
- Theme files and imagesnot loading on a mobile device
- Is there a good way to use CMS images with CSS
- Stop underlining image links
- Font size on image captions on mobile
- Parallax image problem
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- Why is inline CSS added to images automatically? [closed]
- Create decorative image border with CSS? [closed]
- Why are some SVG-images not visible in my footer?
- Placing a background image with text over it
- WordPress update leads to 404 error on admin page and signup. CSS mishap with all plugin related functions
- I am having trouble displaying an image at the top of a widget area [closed]
- Is there a way to add background-image to theme.json?
- Can’t upload svg files in WordPress
- CSS how to target the caption of one individual image?
- How do I set attributes for all images in a site
- Customize all image captions
- css and images in uploaddir, different response in different browsers
- How to make an image appear then another takes its place and so on?
- How do I link an image in a svg file in wordpress?
- File upload size limit in wordpress and php.ini limit
- Site not showing Image in WordPress and in HTML code also which uploaded in root what is the solution for this?
- How to add php to theme to show alt attributes
- Display Title/Description/Caption of custom images on homepage
- Using ACF Pro plugin – How to get alt tags using repeater with Image ID? [duplicate]
- Why are my button images blurry on mobile screens?
- Images do not show in the website, but they appear on new tab
- Images missing from Blog post page
- Page size too big due to images
- After moving a site to new hosting, not all images are showing in media library
- WP Large Images crash page
- Generate links on all images in posts – is there a hook?
- Why image Thumbnail url is not displaying with custom size?
- Decide how Hero image appears on mobile
- Can i use my Old Post image URL in my new post?
- Exclude first image from a Woocommerce image gallery
- Responsive Featured Images Not Working
- Recovered WordPress installation (on localhost) links broken and images not showing
- Responsive images with srcset
- Image is missing on site homepage
- get_image_tag & wp_get_attachment_image_attributes behaving strangely