mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
js updates
This commit is contained in:
@@ -10,7 +10,7 @@ export class TodoHeader extends React.Component {
|
||||
<button className="submit">Add</button>
|
||||
</div>
|
||||
<nav className="filter">
|
||||
<button className="active">all</button>
|
||||
<button className="completed">all</button>
|
||||
<button>active</button>
|
||||
<button>completed</button>
|
||||
</nav>
|
||||
|
||||
@@ -31,7 +31,7 @@ h1 {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.filter .active {
|
||||
.filter .selected {
|
||||
border-bottom: 2px solid blue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user