3-MASALA
css da link shuni ustiga sichqoncha borsa link shu holatga kelsin
+3 ball
<!DOCTYPE html>
<html>
<head>
<title>Css Example</title>
</head>
<body>
<style>
img{
border: 4px solid #D529D1FF;
border-radius: 10px;
box-shadow: 10px 10px 10px gray;
}
</style>
<img src="https://as2.ftcdn.net/jpg/02/08/91/55/500_F_208915568_Jk55l9Ekm9QrGtcg2jvJ1rm0QJ64SjEc.jpg" alt="Technology" align="middle">
</body>
</html><!DOCTYPE html>
<html>
<head>
<title>Css Example</title>
</head>
<body>
<style>
body{
margin: auto;
padding: 10px;
font-size: 20px;
}
h1{
text-align: center;
}
img{
border: 4px solid #D529D1FF;
border-radius: 10px;
box-shadow: 10px 10px 10px gray;
}
.box-1{
border: 1px solid #DDD;
box-shadow: 5px 5px 5px gray;
padding: 20px;
}
.box-1:hover{
box-shadow: 10px 10px 15px gray;
}
a{
color: blue;
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
.main{
overflow: hidden;
border: 1px solid #ddd;
}
.head{
background-color: #E5D719FF;
text-align: center;
color: blue;
padding: 20px;
font-style: bold;
}
.block{
float: left;
width: 50%;
padding: 10px;
box-sizing: border-box;
}
</style>
<h1>1. Rasmga soya berish</h1>
<img src="https://uzfor.uz/files/users/photo/895_tmp_1521050641.jpg" alt="avatar" align="middle">
<h2>2. Sichqoncha bilan ishlash</h2>
<div class="box-1">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. </p>
</div>
<h1>3.Link bilan ishlash</h1>
<a href="#">Bosh sahifaga o`tish</a>
<h1>4. Gazeta shakliga keltirish</h1>
<div class="main">
<div class="head">
Header page
</div>
<div class="block">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. pariatur.
</div>
<div class="block">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</div>
</div>
</body>
</html><div class="dropdown-click">
<button onclick="myFunction()" class="button black">Click Me!</button>
<div id="Demo" class="dropdown-content bar-block border">
<a href="#" class="bar-item button">Link 1</a>
<a href="#" class="bar-item button">Link 2</a>
<a href="#" class="bar-item button">Link 3</a>
</div>
</div>
<script>
function myFunction() {
var x = document.getElementById("Demo");
if (x.className.indexOf("show") == -1) {
x.className += " show";
} else {
x.className = x.className.replace("show", "");
}
}
</script>