Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Create a Vertical Button Group with CSS
You can try to run the following code to create a vertical button group
Example
<!DOCTYPE html>
<html>
<head>
<style>
.mybtn .button {
background-color: orange;
border: 1px solid green;
width: 120px;
color: white;
font-size: 14px;
padding: 10px;
text-align: center;
text-decoration: none;
display: block;
}
</style>
</head>
<body>
<div class = "mybtn">
<button class = "button">Result</button>
<button class = "button">Result</button>
<button class = "button">Result</button>
<button class = "button">Result</button>
</div>
</body>
</html>Advertisements