Material Symbols Pentagon Icon
The Material Symbols Pentagon Icon is given below. You can copy and paste this HTML symbols code in the same way in your project. First, make sure you have added the Google Fonts Pentagon Material Symbols library. If this library is added just add the HTML CSS pentagon any element to add the icon. Material Symbols Pentagon Icon can be resized as per your need. You can manage the size of the icon(Pentagon) by using font-size CSS style.
You can get steps to add HTML Pentagon Web, React, Vuetify, Material UI, Material Symbols, and Angular Material framework.
How to add Material Symbols Pentagon Icon ?
You can integrate material Pentagon symbols in web pages by just copy paste the following syntax & icon code.
Pentagon
pentagon1. Web
You can integrate Icon in web pages by just adding following below syntax & icon code.
<span class="material-symbols-outlined">pentagon</span>
pentagon
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<span class="material-symbols-outlined"> pentagon </span>
<span class="material-symbols-outlined"> pentagon </span>
2. Material Pentagon Symbol Font CSS Examples
Use CSS fonts to set a different axis. See examples below.
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,
GRAD@20..48,100..700,0..1,-50..200" />
<!-- everything default and using `different font-size:28px ,32px , 36px, 40px` -->
<span class="material-symbols-outlined">pentagon</span>
<span class="material-symbols-outlined" style="font-size:28px;color:blue">pentagon</span>
<span class="material-symbols-outlined" style="font-size:32px;color:green">pentagon</span>
<span class="material-symbols-outlined" style="font-size:36px;color:teal">pentagon</span>
<span class="material-symbols-outlined" style="font-size:40px;color:red">pentagon</span>
Change Material Pentagon Symbol Icon Font Variation Settings
Sometimes we need Pentagon symbols in different font variations settings. In order to do so, we have to use the CSS style of Font variations Settings. Check the example of Font Variations Settings of Material Pentagon Symbols with CSS style below.
<!-- Using `different type of Fill, Weight, Grad, Opsz -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,
GRAD@20..48,100..700,0..1,-50..200"/>
<span class="material-symbols-outlined" style="font-variation-settings:'FILL'1";>pentagon</span>
<span class="material-symbols-outlined" style="font-variation-settings:'wght'300">pentagon</span>
<span class="material-symbols-outlined" style="font-variation-settings:'GRAD'100">pentagon</span>
<span class="material-symbols-outlined" style="font-variation-settings:'opsz'10">pentagon</span>
Pentagon Symbols Thin Outlined and Thick filled icons
The fill provides the ability to change the default Material Font Pentagon symbols PNG & SVG style. A symbol can represent both filled and unfilled. Use a full animation or interactive form to explain the changes in the environment. Values are 0 by default or 1 for fully filled. Along with the weight axis, fill affects the size of the symbol.
<!-- loads the entire Variable Font -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,
GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet" />
<!-- thin outlined icons -->
<div style="font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 48;">
<span class="material-symbols-outlined">pentagon</span>
<span class="material-symbols-outlined" style="font-size:32px;color:red">pentagon</span>
<span class="material-symbols-outlined" style="font-size:36px;color:green">pentagon</span>
<span class="material-symbols-outlined" style="font-size:40px;color:blue">pentagon</span>
</div>
<!-- thick filled icons -->
<div style="font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 48;">
<span class="material-symbols-outlined">pentagon</span>
<span class="material-symbols-outlined" style="font-size:32px;color:red">pentagon</span>
<span class="material-symbols-outlined" style="font-size:36px;color:green">pentagon</span>
<span class="material-symbols-outlined" style="font-size:40px;color:blue">pentagon</span>
</div>
Animation in material Pentagon Symbol
If you use CSS Pentagon symbols or want more control over symbol properties, use the Google Symbol variable font. All variable fonts in digital format can be padded with spaces Can I use variable font support to control whether users can specify variable fonts? Here are some examples of Pentagon Symbols Animations.
<!-- loads the entire Variable Font -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,
0..1,-50..200" rel="stylesheet" />
<style>
.pulse {animation: pulse 3s infinite;}
@keyframes pulse {
0% { font-variation-settings: 'wght' 100;}
50% { font-variation-settings: 'wght' 700;}
100% { font-variation-settings: 'wght' 100;}
}
</style>
<div class="pulse">
<span class="material-symbols-outlined">pentagon</span>
<span class="material-symbols-outlined" style="font-size:32px;color:red">pentagon</span>
<span class="material-symbols-outlined" style="font-size:36px;color:green">pentagon</span>
<span class="material-symbols-outlined" style="font-size:40px;color:blue">pentagon</span>
</div>
Styling of Google Material Pentagon Symbols
These Pentagon symbols are designed according to the Material Design guidelines and will look good if you use the recommended icons. size and color The layout below makes it easy to use sizes, colors, and work types.
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet"/>
<style>
/* Recommended icon sizes */
span.size-20 {font-size: 20px;font-variation-settings: 'OPSZ' 20;}
span.size-24 {font-size: 24px;font-variation-settings: 'OPSZ' 24;}
span.size-40 {font-size: 40px;font-variation-settings: 'OPSZ' 40;}
span.size-48 {font-size: 48px;font-variation-settings: 'OPSZ' 48;}
/* Rules for using icons as black on a light background. */
.dark {background: black;color: rgba(255, 255, 255, 1);font-variation-settings: 'GRAD' -25;}
.dark-inactive {background: black;color: rgba(255, 255, 255, 0.3);font-variation-settings: 'GRAD' -25;}
</style>
<div>
<span class="material-symbols-outlined size-20">pentagon</span>
<span class="material-symbols-outlined size-24">pentagon</span>
<span class="material-symbols-outlined size-40">pentagon</span>
<span class="material-symbols-outlined size-48">pentagon</span>
</div>
<div>
<span class="material-symbols-outlined dark">pentagon</span>
<span class="material-symbols-outlined dark-inactive">pentagon</span>
</div>
Tags
five sides,pentagon,shape
pentagon
pentagon
pentagon
pentagon
Material Symbols Pentagon Icon | pentagon | HTML, CSS
Adding Material Symbols icon HTML Pentagon(pentagon) in web project is very simple. You need to add the icon class along with material-symbols-outlined, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Material Symbols Pentagon Icon Pentagon as per your requirement, suppose that you need to chnage the color of Pentagon icon or change the size of size. It is pretty simple to change color of icon Pentagon just add style="color:red" it will make font color red. On the same way you can change size of Pentagon icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Pentagon. Hope this icon fullfilled your need. Thanks for visiting us.
Change Material Symbols Icon Pentagon Color
Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.
<style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<span class="material-symbols-outlined blue-color"> pentagon</span>
<span class="material-symbols-outlined green-color">pentagon </span>
<span class="material-symbols-outlined teal-color"> pentagon</span>
<span class="material-symbols-outlined yellow-color">pentagon </span>
<span class="material-symbols-outlined red-color">pentagon </span>
Output of the above example will be as below- pentagon pentagon pentagon pentagon pentagon
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
Advertisements
Related Icons
Advertisements