Skip to content Skip to sidebar Skip to footer

How To Put Image As Border In CSS In React JS

I want to make a CSS so that following image be used as the border and whenever i type something it will be wrapped in that as well Actually i want to use this CSS with React JS i

Solution 1:

.enjoy-css {
  min-width: 410px;
  max-width: 450px;
  border-style: solid;
border-width: 45px 103px 267px 98px;
-moz-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 45 103 267 98 stretch repeat;
-webkit-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 45 103 267 98 stretch repeat;
-o-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 45 103 267 98 stretch repeat;
border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 45 103 267 98 stretch repeat;
}

.width-css {
  min-width: 210px;
  max-width: 250px;
    word-break: break-all;
}

This is the thing i wanted to do and i did it successfully


Post a Comment for "How To Put Image As Border In CSS In React JS"