What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

[TIPS] Explore the power of conical gradients

Koyyiko

New member
Joined
Aug 22, 2022
Messages
17
Reaction score
0
HTML Coins
0
CSS Gradients are a powerful way to visualize more than one color on the screen. It creates a smooth transition between colors that gives a unique design to the element and eventually to your website. With linear gradients and radial gradients in place for some time, you will find only these two at most places on the internet. CSS Image values and replaced content module level 4 describes another functional gradient – the conical gradient.

The conical gradient in CSS rotates the color transitions from the circle’s center. Conical gradient color ends at the circle’s boundary rather than radiating from the center with different radii.

Pie charts are an excellent example of conical gradients.

The following simple code divides a circle into four segments resembling a pie chart:

Code:
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Conical Gradient</title>
  </head>
  <style>
  .conic-grad {
  background: conic-gradient(red 25%, blue 0 50%, yellow 0 75%, black 0);
  width: 200px;
 height: 200px;
 border-radius: 50%;
}
  </style>
  <body>
 
    <div class = "conic-grad"></div>
  </body>
</html>


Output

circle into four segments


However, this is just a simple demonstration of conical gradients. They can also create a beautiful transition with just a single line of code as follows:

Code:
  background: conic-gradient(cyan, magenta, yellow, black);

Output

demonstration of conical gradients
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back