就是,鼠標點擊之后讓區域內的文字居中,我這個是右對齊。各位大佬幫我看看,謝謝啦!這是我的代碼.ddd:hover{????????
?????????????background-color:orange;?
?????????????display:inline-block;????????
?????????????/*?width:100px;?*/????????
?????????????height:30px;????????
?????????????text-align:center;????????
?????????????line-height:30px;????????
?????????????color:white;/*?給導航欄設置鼠標經過的樣式?*/????}
- 1 回答
- 0 關注
- 859 瀏覽
添加回答
舉報
0/150
提交
取消