javascript - Dashed border with border-image -


i have 3 overlaying layer 2 background image , 11 or content.

in content placed input button tag dashed boarder.

what trying achieve same background layer image layer 1 on dashes.

obvious background:transparent isn't working second choice used input boarder , tried mock behavior setting boarder-image background image layer 1.

enter image description here

.button { font-family:verdana, sans-serif; font-size: 20px; font-weight: bold; background: transparent; border-width:5px; border-style:dashed; border-color: black; } 

so dashes around submit button should have same background first layer on left

i changed to:

enter image description here

.button { font-family:verdana, sans-serif; font-size: 20px; font-weight: bold; background: transparent; border-width:5px; border-style:dashed; border-color: black; border-image: url(/img/bg1.jpg); } 

i don't have idea how achieve dashed boarder-image

with: border-image: url(/img/bg1.jpg) 30 30 round; enter image description here

http://jsfiddle.net/6vkdh/3/

css border-image syntax this:

border-image: source slice width outset repeat|initial|inherit;

so missing there.

try replace border-image

border-image: url(/img/bg1.jpg); 

for example:

border-image: url(/img/bg1.jpg) 30 30 round; 

for more documentation @ : css3 border-image


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -