HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
This chapter we will introduce how to create an instance of paging through the use of CSS.
If your site has many pages, you'll need to use the tab to make the navigation for each page.
The following example demonstrates how to use HTML and CSS to create page:
If you click on this page, you can use .active
to set the current page style, you can use the mouse-over :hover
selectors to modify the style:
You can use the border-radius
property for the selected page to add rounded corners style:
We can add the transition
property to move the mouse on the page when you add transition effects:
We can use the border
attribute to add a page with a border:
Tip: In the first and last page pagination links Link Add fillets:
Tip: You can use the margin
property to add a space directly to each page:
We can use the font-size
property to set page font size:
If you want to center tab, you can (such as <div>) to addtext-align on the container element: centerstyle:
Another navigation as breadcrumbs, examples are as follows: