使用 Bootstrap 的 next 类将链接右对齐
在 Bootstrap 中使用 .next 类将链接右对齐。你可以尝试运行以下代码来实现 .next 类
示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <h3>Answers</h3> <br> <ul class = "pager"> <li class = "previous"><a href = "#">← Older</a></li> <li class = "next"><a href = "#">Newer →</a></li> </ul> </body> </html>
广告