CSS: Is It Possible To Use Only A Set Part Of An Image As A Background Filler?
I have background image for a site header with fixed width. Now I am trying to convert it to a stretching layout.
Is it possible (in CSS2) to take 1px wide portion from the middle of that header image and make a filler out of it? Otherwise I would need to manually cut 1px wide portion of an image, save it as a separated image, and use it with
Using css only you cannot do this. So your proposed solution is the one that I would use.
- → OctoberCMS - How to make collapsible list default to active only on non-mobile
- → How to disable assets combining on development in OctoberCMS
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → How to dynamically add class to parent div of focused input field?
- → Expanding search bar not expanding before search
- → Using css modules how do I define a global class
- → Conditional BG Color on AngularJS
- → Divs aren't aware of screen resizing
- → Setting the height of a textarea inside a table
- → How can I get Greasemonkey to highlight visited image links?
- → How to handle onclick event of a button?