Jump to content

Template:Screen reader-only/styles.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
style to hide content from browser display but not screen reader
 
m fmt
Line 3: Line 3:
height: 1px;
height: 1px;
width: 1px;
width: 1px;
top: auto;
padding: 0;
padding: 0;
margin: -1px;
margin: -1px;
left: -10000px;
overflow: hidden;
overflow: hidden;
position: absolute;
position: absolute;

Revision as of 04:43, 4 June 2020

.sr-only {
	border: 0;
	height: 1px;
	width: 1px;
	top: auto;
	padding: 0;
	margin: -1px;
        left: -10000px;
	overflow: hidden;
	position: absolute;
	clip: rect(0, 0, 0, 0);
}