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: 45px103px267px98px;
-moz-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 4510326798 stretch repeat;
-webkit-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 4510326798 stretch repeat;
-o-border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 4510326798 stretch repeat;
border-image: url(https://d3nj7353mvgauu.cloudfront.net/media/categories/iphone-77-plus-40-b1ac.png) 4510326798 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"