0
문제가 있습니다. 내가 CSS를 바로 클릭하여 버튼을 얻으려고 애 쓰고 : 선택기 후.: 내용의 밑에 선택기 후에?
.text-bg .text-top-left{
position:absolute;
width:50%;
background:rgba(95,87,79,0.9);
padding:20px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
top:50px;
left:-48%;
}
.text-bg .text-top-left:after{
content:'>';
font-family:'Entypo';
width:20px;
height:10px;
color:black;
background:white;
}
바로 지금>는 내 텍스트 왼쪽 상단에 있습니다. 그러나 상자의 바깥쪽에 중심에 두는 것이 좋습니다. 무엇을 바꾸어야합니까?
는 시도 :position:absolute, float:right, text-align:right
에
left
.. 그리고 그렇게를 수정합니다. 하지만 코드를 작성할 수 있습니까? –
'position : absolute; 시도해주세요. – YvesHendseth
html로 약간의 페이지 구조가 도움이 될 것입니다. – pistou