簡體   English   中英

將側邊欄置於屏幕右側

[英]Make a side bar to be on the right side of the screen

希望這個話題。

我找到了這個骨架,並試圖根據自己的需要對其進行修改。

  1. 如何使側欄位於右側而不是左側?
  2. 如何使導航欄上的按鈕位於右側而不是左側?

在我縣,我們從右到左書寫。

編輯(對不起,之前忘記了第二件事)

#sidebar { float: right; }

.container-fluid > *:not(:first-of-type) {
  float: right;
}

https://codepen.io/anon/pen/EXvxxG

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM