Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to put border on image in html

<img style='border:1px solid #000000' src="..." />
Comment

border image css

#borderimg1 { 
  border: 10px solid transparent;
  padding: 15px;
  border-image: url(border.png) 30 round;
}
Comment

PNG image border CSS

img {
  -webkit-filter: drop-shadow(1px 1px 0 black)
                  drop-shadow(-1px -1px 0 black);
  filter: drop-shadow(1px 1px 0 black) 
          drop-shadow(-1px -1px 0 black);
}

body {
  background-color: lightcoral;
}
<img src="http://i.imgur.com/GZoXRjS.png" width="250">
Comment

PREVIOUS NEXT
Code Example
Css :: how to add outline to text in css 
Css :: lower brightness of backgroung css 
Css :: li not first child 
Css :: download s3 bucket files on l local 
Css :: select first div css 
Css :: input padding without changing width 
Css :: radial gradient css 
Css :: how to change image based on screen size 
Css :: css linear gradient 25% of page 
Css :: css animation top goes back to start 
Css :: vertical align css 
Css :: how to paralax effect on background image 
Css :: bootstrap 4 material icon vertical align 
Css :: hide scrollbar of a div but keep functionality 
Css :: input uppercase with css 
Css :: template html css bootstrap cdn 
Css :: horizontal line css before and after heading 
Css :: linear gradient border 
Css :: padding in one line 
Css :: table data max width 
Css :: prefers color scheme 
Css :: media queries 
Css :: background-size 
Css :: how to center a position fixed element horizontally 
Css :: width fit content 
Css :: setting z index on before after pseudo classes 
Css :: checkbox change background color bootstrap 
Css :: how to disable css-select select box 
Css :: css media query max width 
Css :: css text to fit container 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =