Portfolio Layout Flex
How do I make an portfolio layout flex?
What is a portfolio layout flex? How do you make a portfolio layout flex? This script and codes were developed by Lahvjal on 24 August 2022, Wednesday.
Portfolio Layout Flex - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Portfolio Layout Flex</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="nav"> <div class="profile"></div> <div class="navvy"></div>
</div>
<div class="nav-spacer"></div>
<div class="container"> <div class="barrier"> <div class="project-row"> <a class="project-card proj-1 flex2"> </a> <div class="project-card proj-2 flex1"> </div> <div class="project-card proj-3 flex1"> </div> <div class="clear"></div> </div> <div class="project-row"> <div class="project-card proj-4 flex1"> </div> <div class="project-card proj-5 flex1"> </div> <div class="project-card proj-6 flex1"> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div class="clear"></div>
</div>
<div class="clear"></div>
</body>
</html>
Portfolio Layout Flex - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,900");
body { margin: 0; padding: 0; color: #333; display: flex; flex-direction: row; position: relative; font-family: "Roboto", sans-serif; box-sizing: border-box; height: auto;
}
h1 { font-weight: 300;
}
.flex1 { flex: 1;
}
.flex2 { flex: 2;
}
.flex3 { flex: 3;
}
.flex4 { flex: 4;
}
.flex5 { flex: 5;
}
.nav-spacer { width: 300px; height: 100%;
}
.nav { width: 300px; height: 100vh; position: fixed; min-height: 800px; background-color: #fff; display: flex; flex-direction: column; justify-content: space-around; align-items: center; z-index: 5; transition: all ease 300ms;
}
.nav .navvy { width: 80%; height: 300px;
}
.clear { clear: both;
}
.profile { height: 180px; width: 180px; border-radius: 50%; cursor: pointer; background: linear-gradient(rgba(51, 51, 51, 0), rgba(51, 51, 51, 0)), url(https://scontent.xx.fbcdn.net/v/t1.0-9/13178898_10153947303729733_630368274241755814_n.jpg?oh=68cc09899af20bc25857ecabaee3be56&oe=595C29BF); background-size: 200%; background-position: 60% 10%; transition: all ease 300ms;
}
.profile:hover { background: linear-gradient(rgba(51, 51, 51, 0.4), rgba(51, 51, 51, 0.4)), url(https://scontent.xx.fbcdn.net/v/t1.0-9/13178898_10153947303729733_630368274241755814_n.jpg?oh=68cc09899af20bc25857ecabaee3be56&oe=595C29BF); background-size: 200%; background-position: 60% 10%;
}
.container { display: flex; justify-content: center; width: calc(100vw - 300px); background-color: #fff; right: 0;
}
.barrier { display: flex; align-items: center; flex-direction: column; width: 100%; height: auto; padding: 5px; box-sizing: border-box;
}
.title { text-align: center;
}
.project-row { width: 100%; height: auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.project-card { height: 400px; width: auto; background-color: #ccc; margin: 7px; cursor: pointer;
}
.proj-1 { background-image: url(https://images.unsplash.com/photo-1473220464492-452fb02e6221?dpr=1&auto=compress,format&fit=crop&w=1199&h=800&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
.proj-2 { background-image: url(https://images.unsplash.com/photo-1480444704010-31f5e7c5707c?dpr=1&auto=compress,format&fit=crop&w=1199&h=799&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
.proj-3 { background-image: url(https://images.unsplash.com/11/berries.jpg?dpr=1&auto=compress,format&fit=crop&w=1199&h=899&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
.proj-4 { background-image: url(https://images.unsplash.com/photo-1473220464492-452fb02e6221?dpr=1&auto=compress,format&fit=crop&w=1199&h=800&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
.proj-5 { background-image: url(https://images.unsplash.com/photo-1480444704010-31f5e7c5707c?dpr=1&auto=compress,format&fit=crop&w=1199&h=799&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
.proj-6 { background-image: url(https://images.unsplash.com/11/berries.jpg?dpr=1&auto=compress,format&fit=crop&w=1199&h=899&q=80&cs=tinysrgb&crop=); background-size: cover; background-position: center center;
}
Developer | Lahvjal |
Username | lahvjal |
Uploaded | August 24, 2022 |
Rating | 3 |
Size | 3,489 Kb |
Views | 38,456 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
ToggleCss | 2,517 Kb |
RMO live StyleGuide | 13,045 Kb |
RMO-UI | 6,539 Kb |
Floating Product image | 2,443 Kb |
Paragraphs - RMO | 2,099 Kb |
PNT Page | 4,697 Kb |
Product-Carousel items | 3,595 Kb |
Afa home page | 1,574 Kb |
Buttons - RMO | 3,954 Kb |
Recycle Search - RMO | 1,483 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Scoreboard.js basic usage | Tbleckert | 1,733 Kb |
ECharts Version 3.0 - Bar Marker Chart | WebCodePro | 2,726 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
Simple canvas drawing -- simplified lines | Anandthakker | 3,127 Kb |
Shopping cart | Andiio | 6,581 Kb |
Background-blend-mode Test | 0x04 | 4,744 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!