Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は初めて Jekyll を使用していますが、スタイリングの助けが必要です。
中央を垂直に分割するページを作成しようとしています。左半分は黒と白のフォント、右半分は白と黒のフォントです。
次の例を参照してください。
<div id="black"></div> <div id="white"></div>
あなたのCSSでは、
#black{ float:left; background-color:black; width:50% height:100%; color:white; } #white{ float:right; background-color:white; width:50% height:100%; color:black; }