zabkasirna / web-yasser Goto Github PK
View Code? Open in Web Editor NEWyasserizky website
yasserizky website
Maybe different background-color
? or border-color
?
magic numbers scattered all over the place. Please clean up.
Worth to try
make random script. run on page load
.background
size sometimes do not scaled on page load. Maybe this happen because the image or video not loaded yet but the rescale
function was already called.
<head>
...
<link rel="stylesheet" type="text/css" href="[path ke folder public]/styles/main.css" />
...
</head>
.page-navigation-project {...} // diubah menjadi
.page-navigations {...} // simple and semantic
<div id="page" class="werk"> // ini parent nya
...
<div class="page-navigations"> // ini container nya
...
<div class="page-navigation"> // ini element nya
...
</div>
...
</div>
...
</div>
.page-navigations {
...
width: ...rem;
height: ...rem;
padding: ...rem;
margin: ...rem;
line-height: ...rem;
...
}
.page-navigations {
...
position: relative;
...
}
// Ini clearfix nya
.page-navigations:before,
.page-navigations:after {
content: ""; // Biarkan kosong
display: table;
}
.page-navigations:after {
clear: both;
}
<!-- markup nya -->
<div class="page-navigations">
...
<div class="page-navigation left">...</div>
...
</div>
.page-navigations.left { float: left; margin: 0; } // float ke kiri
.page-navigations.center { float: left; margin: 0 auto; } // no float, center horizontally
.page-navigations.left { float: right; margin: 0; } // float ke kanan
class
name.info-project {...} // prefix -project terlalu spesifik, kurang menjelaskan maksud nya
a.info-btn {...} // prefix -btn menjelaskan kalau element ini menerima interaksi user (button)
<a>
, dan display nya harus block, agar element a
bisa menerima height dan widtha.info-btn {
...
display: block;
height: ...rem; // tanpa display block <a> height dan width tidak berfungsi
}
<p>
dan ubah class
name<div class="page-navigations">
<div class="page-navigation">
<a class="info-btn">
<p class="info-btn-text"> show info </p>
</a>
</div>
</div>
a.info-btn dan p.info-btn-text
agar tidak memiliki margin, sehingga layout bisa dijaga.info-btn {
...
margin: 0;
...
}
.info-btn-text {
...
margin: 0;
...
}
img
untuk semua icon, agar css tidak memanggil file imageada homo beli eskrim malem2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.