Assignment 10
Assignment 10
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>College Website</title>
<style>
html, body {
overflow-x: hidden;
</style>
<script src="../../JS/Menu.js"></script>
</head>
<body>
<header>
<div id="head">
<div id="leftHead">
</div>
<div id="rightHead">
Assignment No :- 10
(Program on Master Page)
</div>
<div class="menu">
<ul>
<li><a href="../ContentPage/HomePage.aspx">Home</a></li>
<li><a href="../ContentPage/Courses.aspx">Courses</a></li>
<li><a href="../ContentPage/Gallery1.aspx">Gallery</a></li>
</ul>
</div>
</div>
</header>
<form>
<div class="container">
</div>
</form>
<footer>
<ul class="footer-links">
<li><a href="#">UGC</a></li>
</ul></footer></body></html>
Assignment No :- 10
(Program on Master Page)
Master.css:
*{
padding: 0;
margin: 0;
#head {
display: block;
body {
color:white;
#logo {
width: 120px;
height: auto;
border-radius: 20px;
#leftHead {
float: left;
width: 120px;
height: 161px;
#rightHead {
float: left;
width: 490px;
#Society {
font-family: Chiller;
}
Assignment No :- 10
(Program on Master Page)
#ClgName {
font-weight: 80;
#ClgAddress {
color:white;
#head {
height: auto;
clear: both;
#body {
width: 1080px;
height: auto;
overflow-x: hidden;
#leftBody {
display: inline-block;
.menu {
display: inline-
block; margin-left:
35px; margin-top:
35px;
.menu ul {
list-style-type: none;
margin: 0;
Assignment No :- 10
(Program on Master Page)
padding: 0;
.menu ul li {
display: inline;
.menu ul li a {
display: inline-block;
text-decoration: none;
color: ivory;
.menu ul li a:hover {
color: salmon;
.menu ul li a.active {
background-color: #4CAF50;
color: white;
border-radius: 15px;
header {
top:
0;
width: 100%;
display:block;
}.container {
display: block;
flex-direction: column;
justify-content:
center; align-items:
center;
Assignment No :- 10
(Program on Master Page)
margin-top: 161px;
margin-bottom: 50px;
footer {
bottom: 0;
width: 100%;
padding: 10px
0; text-align:
right; direction:
rtl;
@keyframes moveText {
from {
transform: translateX(100%);
to {
transform: translateX(-100%);
.footer-links li {
display: inline;
margin-right: 20px;
.footer-links li:last-child
{ margin-right: 0;
.footer-links li {
Assignment No :- 10
(Program on Master Page)
display: inline;
.footer-links li a {
text-decoration: none;
color: ivory;
.footer-links li a:hover
{ color: cyan;
HomePage.aspx:
Source code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/Master/Site1.Master"
AutoEventWireup="true" CodeBehind="HomePage.aspx.cs"
Inherits="Assignment10.Forms.ContentPage.HomePage" %>
<div class="home-content">
<h1 id="wel">Welcome <br/>to <br/> Smt. Kasturbai Walchand College of Arts And Science,
Sangli</h1>
<p>This is a prestigious institution under the Latthe Education Society, dedicated to providing
quality education in arts and science disciplines.</p>
<p>Our college is located in the serene Rajnemi Campus, North Shivajinagar, Sangli. We are
accredited by NAAC (3rd Cycle) with a 'B' Grade (CGPA).</p>
<p>Explore our website to learn more about the courses we offer, our esteemed faculty, various
activities, and facilities.</p>
<div class="quotes">
<blockquote class="quote">
"Education is the passport to the future, for tomorrow belongs to those who prepare for it
today." - Malcolm X
</blockquote>
<blockquote class="quote">
Assignment No :- 10
(Program on Master Page)
"The beautiful thing about learning is that no one can take it away from you." - B.B. King
</blockquote>
</div>
</div>
</asp:Content>
Home.css:
#wel{
margin-top:30px;
.home-content {
text-align: center;
padding: 25px;
.home-content h1
{ font-size:
36px;
margin-bottom: 20px;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
infinite;
.home-content p {
font-size: 18px;
line-height: 1.6;
Assignment No :- 10
(Program on Master Page)
color: white;
margin-bottom: 20px;
@keyframes colorChange
{ 0% {
-webkit-text-fill-color: #ff5733;
100% {
-webkit-text-fill-color: #ff33e0;
.home-content p:hover
{ color: #ff5733;
.quotes {
margin-top: 20px;
.quote {
color: #666;
margin-bottom: 20px;
position: relative;
ease;
@keyframes fadeIn {
from {
opacity: 0;
Assignment No :- 10
(Program on Master Page)
to {
opacity: 1;
ContactUs.aspx:
Source code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/Master/Site1.Master"
AutoEventWireup="true" CodeBehind="ContactUs.aspx.cs"
Inherits="Assignment10.Forms.ContentPage.ContactUs" %>
<div class="container">
<h1>Contact Us</h1>
<div class="form-group">
<label for="name">Name:</label>
</div>
<div class="form-group">
<label for="email">Email:</label>
</div>
<div class="form-group">
<label for="message">Message:</label>
</div>
</div>
</asp:Content>
Contact.css:
.container {
Assignment No :- 10
(Program on Master Page)
width: 60%;
margin: 50px
auto; color:white;
padding: 20px;
border-radius: 8px;
h1 {
text-align: center;
color: #333;
.form-group {
margin-bottom: 20px;
label {
display: block;
font-weight: bold;
margin-bottom: 5px;
color:white;
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
#ccc; border-radius:
5px;
textarea {
Assignment No :- 10
(Program on Master Page)
resize: vertical;
button {
display: block;
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
button:hover {
background-color: #0056b3;
AboutUs.aspx:
Source code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/Master/Site1.Master"
AutoEventWireup="true" CodeBehind="AboutUs.aspx.cs"
Inherits="Assignment10.Forms.ContentPage.AboutUs" %>
<div class="content">
<ul class="team">
<div class="description">
<p>
Assignment No :- 10
(Program on Master Page)
</p>
</div>
</li>
<div class="description">
<h3>Infrastructure</h3>
<p>
</p>
</div>
</li>
<div class="description">
<h3>Student Life</h3>
<p>
Student life at Smt. Kasturbai Walchand College is vibrant, dynamic, and enriching,
offering a plethora of opportunities for personal growth, academic engagement, and extracurricular
involvement.
</p>
</div>
</li>
<div class="description">
<p>
</p>
</div>
</li>
</ul>
</div>
</asp:Content>
AboutUs.css:
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap");
:root {
--yellow: #ffdd40;
--dark: #2f313a;
--deg: -86deg;
body *,
body *:before,
body *:after {
box-sizing: border-box;
.content {
width: 90vmin;
h2 {
Assignment No :- 10
(Program on Master Page)
text-align: center;
.team {
margin: 0;
.member {
padding: 0.73em;
position: relative;
list-style: none;
display: inline-block;
transform: scale(0.85);
transition: var(--trans);
.member:nth-of-type(even) {
text-align: right;
.thumb {
width: 13vmin;
height: 13vmin;
float: left;
margin-right: 1.25em;
); transform: rotate(-4deg);
Assignment No :- 10
(Program on Master Page)
transition: var(--trans);
border-radius: 0.25em;
overflow: hidden;
margin-left: -3em;
padding: 0.5em;
.member:nth-of-type(even) .thumb {
--deg: 86deg;
float: right;
margin-left: 2em;
margin-right: -3em;
transform: rotate(4deg);
.thumb img {
width: 100%;
height: 100%;
border-radius: 0.25em;
filter: grayscale(1);
background: var(--dark);
.member:hover {
transform: scale(1);
transition: var(--trans);
.member:hover .thumb {
padding: 0.1em;
transition: var(--trans);
transform: rotate(-1deg);
Assignment No :- 10
(Program on Master Page)
--deg: -89deg;
.member:nth-of-type(even):hover .thumb {
--deg: 91deg;
{ filter: none;
transition: var(--trans);
.description {
padding-top: 1vmin;
.description p {
padding: 0 2em;
margin-bottom: 1em;
h3 {
display: inline;
transform: rotate(-2deg);
position: absolute;
margin: 0;
margin-top: -2.25em;
left: 9vmin;
color: var(--yellow);
border-radius: 0.25em;
font-size: 1.35em;
.member:nth-of-type(even) h3
{ left: inherit;
right: 9vmin;
transform: rotate(2deg);
.member:hover h3 {
transition: var(--trans);
transform: rotate(0deg);
.co-funder:after {
font-size: 0.75em;
position: absolute;
top: -1.5em;
background: var(--yellow);
right: 4em;
transform: rotate(3deg);
border-radius: 0.25em;
color: var(--dark);
font-weight: bold;
.college:after {
content: "Vibrant";
.infrastructure:after {
content: "Modern";}
Assignment No :- 10
(Program on Master Page)
.student_life:after {
content: "Dynamic";
.Staff:after {
content: "Dedicated";
.co-funder:nth-of-type(even):after {
right: inherit;
left: 4em;
transform: rotate(-3deg);
.description p a {
display: inline-block;
margin: 0.5em 0 0 0;
background: var(--dark);
color: var(--yellow);
border-radius: 0.5em;
text-decoration: none;
transition: var(--trans);
.description p a:hover {
transition: var(--trans);
color: var(--dark);
background: var(--
yellow); font-weight:
bold;
}
Assignment No :- 10
(Program on Master Page)
.description p a img {
float: left;
width: 22px;
filter: invert(1);
border-radius: 0.15em;
padding: 2px;
background: #fff;
margin-right: 2px;
Courses.aspx:-
Source Code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/Master/Site1.Master"
AutoEventWireup="true" CodeBehind="Courses.aspx.cs"
Inherits="Assignment10.Forms.ContentPage.Courses" %>
<div class="container">
<header class="page-header">
<h1>Courses - IT Subjects</h1>
</header>
<main>
<h2>Introduction to Programming</h2>
</div>
<p class="info">This course covers the principles and practices of designing, implementing,
and managing database systems.</p>
Assignment No :- 10
(Program on Master Page)
<p>This course covers topics like database design, SQL queries, normalization, and
transaction management.</p>
</div>
<h2>Web Development</h2>
<p class="info">This course introduces students to the concepts and techniques used in
developing interactive websites and web applications.</p>
</div>
</main>
</div>
</asp:Content>
Courses.css:
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
.page-header {
background-color: #007bff;
color: #fff;
padding: 20px;
text-align:
center;
margin-bottom: 20px;
border-radius: 8px;
p{
color:black;
}
Assignment No :- 10
(Program on Master Page)
.course {
background-color: #f9f9f9;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
.course h2 {
color: #007bff;
margin-top: 0;
.course .info {
display: none;
font-style: italic;
color: #555;
.course:hover .info
{ display: block;
.course p {
margin-bottom: 10px;
footer {
background-color: #007bff;
color: #fff;
padding: 20px;
text-align: center;
border-radius: 8px;
Assignment No :- 10
(Program on Master Page)
margin-top: 20px;
Output:-
Assignment No :- 10
(Program on Master Page)