0
我需要使用html
和css
創建此種佈局。使用div
標籤此佈局如何設計佈局如預期的佈局
我的代碼。
class App extends Component {
render() {
return (
<div className="AppTitle">
<b>Score:</b>
<div>
<button type="button">Rock</button>
<button type="button">Paper</button>
<button type="button">Scissors</button>
</div>
</div>
);
}
}
App.css
.AppTitle {
margin: 100px;
}
它看起來像這樣