Search Results
Font Awesome City Icon (Urban, Cities, Metropolition)
Fontawesome Version 5.X
city
<i class='fas fa-city'></i>
city
<i class='fas fa-city' style='color: white'></i>
city
<i class='fas fa-city' style='color: red'></i>
city
<i class='fas fa-city' style='color: blue'></i>
city
<i class='fas fa-city' style='color: #f3da35'></i>
Fontawesome Version 6.X
city
Web
<i class='fa-solid fa-city'></i>
React
<FontAwesomeIcon icon="fa-solid fa-city" />
Vue
<font-awesome-icon icon="fa-solid fa-city" />
city
Web
<i class='fa-solid fa-city' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'white'}" />
city
Web
<i class='fa-solid fa-city' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'red'}" />
city
Web
<i class='fa-solid fa-city' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-city" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-city" :style="{color: 'blue'}" />
city
Web
<i class='fa-solid fa-city' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-city" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-city" :style="{color: '#f3da35'}" />
How to add Font Awesome city Icon ?
Font Awesome Icon fas fa city Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.
HTML Code
Get complete html code for icon city
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<i class='fas fa-city'></i>
</body>
</html>
Tags
urban,cities,cultural diversity, ,location,Metropolitan,Municipal monument
Change Font Awesome Icon City 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>
<i class='fas fa-city blue-color'></i>
<i class='fas fa-city green-color'></i>
<i class='fas fa-city teal-color'></i>
<i class='fas fa-city yellow-color'></i>
<i class='fas fa-city red-color'></i>
Output of the above example will be as below-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
City Icon Font Awesome - FAQs
⭐What is the Font Awesome City Icon code?Icon Code is - fas fa-city.
⭐ What does the fas fa-city Icon mean?fas fa-city is the Icon code of Font Awesome City.
⭐ Can we add fas fa-city Icon in different sizes?Yes, you can Icon of fas fa-city in various pixels.
⭐ How to add a Blue color Font Awesome City Icon?Add the blue color City icon of the font awesome by using code: fas fa-city style='color: blue;'.
⭐ How to make white color icon of a Font Awesome City?To change the City icon to white color use code: fas fa-city style='color: white;'.
Advertisements
Advertisements