.txt-hide {
position: absolute;
clip: rect(0 0 0 0);
width: 1px;
height: 1px;
overflow: hidden;
}
.ir_pm{
display:block;
overflow:hidden;
Font-size:1px;
line-height:0;
text-indent:-9999px;
/* 들여쓰기로 안보이는 곳으로 위치시키기 */
}
.ir_pm{
display:block;
overflow:hidden;
font-size:1px;
line-height:0;
color:transparent;
/* transparent 키워드는 IE9부터 사용 가능
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#transparent */
}
.screen_out {
overflow: hidden;
position: absolute;
width: 0;
height: 0;
line-height: 0;
text-indent: -9999px;
}
.ir_wa{
display: block;
overflow: hidden;
position: relative;
z-index: -1;
width: 100%;
height: 100%
}
.blind {
position: absolute;
clip: rect(0 0 0 0);
/* clip속성으로 요소 잘라내기 */
width:1px;
height: 1px;
margin: -1px;
overflow: hidden;
}
.product-search a.search {
overflow: hidden;
position: absolute;
right: 0;
width: 50px;
height: 39px;
background-position: -112px -71px;
text-indent: -9em;
}
<참고>
✔ width: fit-content;
content크기에 맞는 width값 지정
✔ background-position: right 14px center;
right 14px위치에서 center로 지정
✔ 말줄임할 때
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;