简体   繁体   中英

How to make this sidebar appear on the right instead of left?

How do I reposition the sidebar shown in this example: https://bootstrapstudio.io/tutorials/sidebar-navigation to be on the right instead of the left?

Thank you, any advice is greatly appreciated!

Change left: to right: in the .sidebar CSS.

Ie., change:

.sidebar {
  [...]
  left: 0;
  [...]
}

to:

.sidebar {
  [...]
  right: 0;
  [...]
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM