Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css psedou content data

.caption::before {
	content: attr(data-title);
	top: 0;
	height: 25%;
	padding: 5px 30px 15px 10px;
	font-size: 40px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}
Source by tympanus.net #
 
PREVIOUS NEXT
Tagged: #css #psedou #content #data
ADD COMMENT
Topic
Name
8+7 =