File tree 3 files changed +1
-25
lines changed
3 files changed +1
-25
lines changed Original file line number Diff line number Diff line change 1
1
### HEAD
2
2
3
+ * Remove image replacement helper class ` .ir `
3
4
* Update to Modernizr 2.7.0.
4
5
* Update to Apache Server Configs 2.0.0.
5
6
* Add vertical centering for ` svg ` ([ #1453 ] ( https://github.com/h5bp/html5-boilerplate/issues/1453 ) ).
Original file line number Diff line number Diff line change @@ -118,23 +118,6 @@ textarea {
118
118
Helper classes
119
119
========================================================================== */
120
120
121
- /*
122
- * Image replacement
123
- */
124
-
125
- .ir {
126
- background-color : transparent;
127
- border : 0 ;
128
- overflow : hidden;
129
- }
130
-
131
- .ir : before {
132
- content : "" ;
133
- display : block;
134
- width : 0 ;
135
- height : 150% ;
136
- }
137
-
138
121
/*
139
122
* Hide from both screenreaders and browsers: h5bp.com/u
140
123
*/
@@ -251,7 +234,6 @@ textarea {
251
234
* Don't show links for images, or javascript/internal links
252
235
*/
253
236
254
- .ir a : after ,
255
237
a [href ^= "javascript:" ]: after ,
256
238
a [href ^= "#" ]: after {
257
239
content : "" ;
Original file line number Diff line number Diff line change @@ -38,13 +38,6 @@ You are free to modify or add to these base styles as your project requires.
38
38
39
39
## Common helpers
40
40
41
- #### ` .ir `
42
-
43
- Add the ` .ir ` class to any element you are applying image-replacement to. When
44
- replacing an element's content with an image, make sure to also set a specific
45
- ` background-image: url(pathtoimage.png); ` , ` width ` , and ` height ` so that your
46
- replacement image appears.
47
-
48
41
#### ` .hidden `
49
42
50
43
Add the ` .hidden ` class to any elements that you want to hide from all
You can’t perform that action at this time.
0 commit comments