Browse Source

Inclusão do CSS na página Extinções

master
higor 3 years ago
parent
commit
3b435b2309
2 changed files with 24 additions and 1 deletions
  1. +2
    -1
      natureza/extincoes/extincoes.html
  2. +22
    -0
      natureza/extincoes/style.css

+ 2
- 1
natureza/extincoes/extincoes.html View File

@ -2,9 +2,10 @@
<html> <html>
<head> <head>
<title>EXTINCOES</title> <title>EXTINCOES</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
<table cellspacing="5" cellpadding="10" border="2">
<table>
<thead> <thead>
<tr> <tr>
<th>Nome</th> <th>Nome</th>


+ 22
- 0
natureza/extincoes/style.css View File

@ -0,0 +1,22 @@
table {
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 15px;
text-align: left;
}
thead {
background-color: #04AA6D;
color: white;
}
tbody tr:nth-child(odd) {
background-color: #f2f2f2;
}
tbody tr:hover {
background: #01cf00;
}

Loading…
Cancel
Save