Over a million developers have joined DZone.

Cool Image Border

DZone's Guide to

Cool Image Border

Free Resource
// This is a cool image border to add some background to the image and the border

.photo {
	text-align: center;
	padding: 2px;
	border: 2px #006600 solid; 

.photo:hover {
	border: 2px #003366 solid; 

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}