Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

🗙
Login
Register

Create Account

Cancel
Back to Web elements
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start**/
* {
 box-sizing: border-box;
}

body {
 margin: 0px;
 background-color: #fff;
}

img {
 max-width: 100%;
}

/**Typeo CSS End**/
.offices, .offices * {
 --page-width: 1230px;
 --base-fm: 'system-ui', sans-serif;
 --title-size: 30px;
 --base-size: 18px;
 --black-clr: #000000;
 --white-clr: #ffffff;
 --bg-clr: #f5f9ff;
 --theme-clr: #072C5D;
}

.page-width {
 max-width: var(--page-width);
 padding: 0 15px;
 margin: auto;
 width: 100%;
}

.offices {
 line-height: 1.3;
 width: 100%;
 font-size: var(--base-size)
 color:var(--black-clr);
 font-family: var(--base-fm);
 padding: 50px 0px;
 background-color: var(--bg-clr);
 
}

.offices h2 {
 font-size: var(--title-size);
 margin-top: 0px;
 margin-bottom: 20px;
}

.offices-list {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
 grid-gap: 20px;
}

.offices-list .offices-item {
 background-color: var(--white-clr);
 border: #d9d9d9 1px solid;
 
}

.offices-cont {
 width: 100%;
 padding: 20px;
}

.offices-list .offices-item h3 {
 font-size: 24px;
 margin: 0;
}

.offices-list .offices-item p {
 font-size: var(--base-size);
 line-height: 1.5;
 margin: 15px 0px;
 min-height: 60px;
}

.offices-list .offices-item .directions-btn {
 background-color: var(--theme-clr);
 color: var(--white-clr);
 text-decoration: none;
 padding: 8px 15px;
 display: inline-block;
 border: var(--theme-clr) 1px solid;
 transition: 0.5s all;
}

.offices-list .offices-item .directions-btn:hover {
 background-color: transparent;
 color: var(--theme-clr);
}
@media(max-width: 992px) {
	.offices {
		padding: 40px 0px;
	}
	.offices-list {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    grid-gap: 10px;
}
}

Related Web Elements