Pagination is one of those elements of a website that often gets overlooked, especially when it comes to design. And there are multiple places where pagination may be appropriate to use in your website. Basically, pagination (or a pagination menu) allows users to navigate through multiple pages of items (an archive of posts for example). This is especially helpful for cutting down on the initial page content.
Divi has multiple modules that include pagination (like the gallery module) which can be styled using built-in settings. Some of these modules (like blog and portfolio) inherit the default pagination of the Divi Theme (or WordPress) which can be over simplified for some sites. But with the help of a plugin, you can replace the pagination of your entire theme with a more complex one.
Then you can style it with CSS however you need.
Read more: https://www.elegantthemes.com/blog/divi-resources/how-to-style-divi-pagination