Я создал элемент div, который является нормальным прямоугольной формой, но мне нужен код для работы таким образом, чтобы нижний край элемента div был наклонным, а также другим элементом div ниже него (который мог бы наклоняться края снова). Любая помощь будет оценена.
Это мой фрагмент кода до сих пор:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Assignment</title>
<!-- Bootstrap Styling css-->
<style type="text/css">
.container{
width: 100%;
padding-top: 25px;
background-color: black;
height: 300px;
}
#logo{
background-color: #FFFFFF;
float: left;
border-radius: 20px;
}
#eduhead{
/*padding-left: 40px;*/
margin-left: 10px;
color: #3C89AA;
font-weight: bold;
}
#newref{
color: white;
font-size: medium;
text-align: right;
font-weight: lighter;
}
table{
width: 100%;
}
#signup{
color:#FFFFFF;
border-style: solid;
border-width: 2px;
border-color: #3C89AA;
border-radius: 5px;
}
</style>
</head>
<body>
<div class="container">
<table>
<tr>
<th></th>
<th id="eduhead"><img src="assets/Group 31.png" id ="logo"
alt="img"> ASSIGNMENT</th>
<th><a href="" title="Blog" id="newref">Blog</a></th>
<th><a href="" title="Packages" id="newref">Packages</a></th>
<th><a href="" title="Login" id="newref">Login</a></th>
<th><a href="" title="Sign Up" id="signup">Sign Up</a></th>
</tr>
</table>
</div>
<!--Including all the JavaScript Files of bootstrap-->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js">
</script>
<!--Bootstrap Scrit CDN-->
Выше приведен мой код, включая все CDN для Bootstrap. Есть предложения?