+ 3
How can i add an css code no this html codes
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div ng-controller="todoList"> <span>Items: {{todos.length}}</span> <ul> <li ng-repeat="todo in todos"> <label class="checkbox"> <input type="checkbox" ng-model="todo.done"> <span class="done-{{todo.done}}">{{todo.text}}</span> </label> </li> </ul> <form ng-submit="addTodo()"> <input type="text" ng-model="todoText" size="30" placeholder="add new todo here"> <input type="submit" value="add"> </form> </ </body> </html>
2 Réponses
+ 3
//Here is other information on adding css on your html
https://www.sololearn.com/learn/CSS/1079/
+ 2
Hi,
In the <head> section,
You can use CSS in <style> tag as -
<style>
span{
color: #f2f2f2;
}
</style>
Please go through SoloLearn CSS course.