CSS Microproject Report
CSS Microproject Report
BY
1. Ms. Bhakti Ramsharan Dahariya
2. Mr. Sunil Bhagwan Salunke
3. Ms. Payal Gorakhnath Fandade
DIPLOMA IN
COMPUTER ENGINEERING
UNDER THE GUIDANCE OF
Ms. S. Samrat
TO
PRINCIPAL
ACKNOWLEDGEMENT
We would like to express our thanks to the people who have helped us most
throughout our project. We would like to express our sincere thanks to the principal of
CSMSS College of Polytechnic Prof. Ganesh B. Dongre for being always with us as a
motivator. We are thankful to the H.O.D. of Computer Engineering Department Ms.
Bhakti Dahariya Mr.Susinil Salunke Ms. Payal Fandade for her kind support. We
are grateful to our Project Guide Ms. S. Samrat for nonstop support and continuous
motivation for the project. His help made us possible to complete our project with all
accurate information. A special thanks of our goes to our friends who helped us
in completing the project, where they all exchanged their own interesting ideas.
We wish to thanks our parents for their personal support or attention who inspired us
to go our own way. Finally, we would like to thank God who made all things
possible for us till the end.
2. RATIONALE ……………………………………………………. 4
5. LITERATURE REVIEW.....................................................................................5 - 14
Resource Required :-
Action Plan :-
Course Outcomes :-
<html>
<head>
</head>
<body>
<div class=”main”>
<nav>
<div class=”logo”>
<img src=”images/logo.png”>
</div>
<div class=”nav-links”>
<ul>
<li><a href=”#”>Home</a></li>
<li><a href=”#”>Phone</a></li>
<li><a href=”#”>Accessories</a></li>
<li><a href=”#”>Cart</a></li>
</ul>
</div>
</nav>
<div class=”information”>
<div class=”overlay”></div>
<img src=”images/camera.png”>
<div>
<h1>Camera</h1>
</div>
</div>
<img src=”img/processor.png”>
<div>
<h1>Processor</h1>
</div>
</div>
<img src=”img/display.png”>
<div>
<h1>Display</h1>
</div>
</div>
<img src=”img/battery.png”>
<div>
<h1>Battery Life</h1>
</div>
</div>
</div>
<div class=”controls”>
<h3>Features</h3>
<img src=”img/arrow.png” id=”downBtn”>
</div>
<script>
Var circle =
document.getElementById(“circle”); Var
upBtn = document.getElementById(“upBtn”);
Var downBtn = document.getElementById(“downBtn”);
Var rotateValue =
circle.style.transform; Var
rotateSum;
upBtn.onclick = function(){
downBtn.onclick = function()
circle.style.transform =
rotateSum; rotateValue =
rotateSum;
}
</script>
</body>
</html>
CSS Code :-
*{
Margin: 0;
Padding: 0;
Font-family: sans-serif;
.main{
Width:
100%;
Height:
100vh;
Position:
relative;
Overflow:
hidden;
Background: linear-gradient(to right , #9c27b0, #8ecdff);
Nav{
Width: 80%;
Position:
sticky;
Margin: 20px
auto; z-index:
1; display:
flex;
align-items: center;
}
.logo {
Flex-basis: 20%;
.logo img{
Width: 150px;
.nav-
link
s{
Fle
x:
1;
Text-align: right;
.nav-links ul
li{ Line-
style: none;
Display: inline-
block;
Margin: 0 20px;
.nav-links
ul li a{
Color:
#fff;
Text-decoration: none;
.information{
Width:
1000px;
Height:
1000px;
Position:
absolute; Top:
50%;
Left: -10%;
Transform: translateY(-50%);
#circle{
Width:
1000px;
Height:
1000px;
Position:
absolute;
Top: 0;
Left: 0;
Border-radius: 50%;
Transform:
rotate(0deg);
Transition: 1s;
}
.feature
img{ Wi
dth:
70px;
}
.feature {
Position:
absolute;
Display: flex;
Color: #fff;
}
.feature div{
Margin-left: 30px;
}
.feature div p{
Margin-top:
8px;
}
.one{
Top:
450px;
Right:
50px;
.two{
Top:
150px;
Left:
350px;
Transform: rotate(-90deg);
}.three{
Bottom:
450px;
Left: 50px;
Transform: rotate(-180deg);
}.four{
Bottom:
150px;
Right:
350px;
Transform: rotate(-270deg);
.mobile{
Width: 200px;
Position:
absolute;
Top: 50%;
Left: 35%;
Transform: translateY(-
50%); z-index: 1;
}
.controls{
Position:
absolute;
Right: 10%;
Top: 50%;
Transform: translateY(-50);
.controls h3{
Margin:
15px 0;
Color:#fff;
}
#upBtn{
Width:
15px;
Cursor:
pointer;
#dowpoint{
Width:
15px;
Cursor:
pointer;
Transform: rotate(180deg);
}
.overlay{
Hight: 0;
Width: 0;
Top: 0;
Output :-