Labels changes according to options

This commit is contained in:
Mohan Pawar 2016-11-03 05:46:52 +00:00
parent 4065c3e61d
commit fba7358d8d
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<html ng-app="catsvsdogs"> <html ng-app="catsvsdogs">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Cats vs Dogs -- Result</title> <title>Java vs .Net -- Result</title>
<base href="/index.html"> <base href="/index.html">
<meta name = "viewport" content = "width=device-width, initial-scale = 1.0"> <meta name = "viewport" content = "width=device-width, initial-scale = 1.0">
<meta name="keywords" content="docker-compose, docker, stack"> <meta name="keywords" content="docker-compose, docker, stack">
@ -19,13 +19,13 @@
<div id="content-container"> <div id="content-container">
<div id="content-container-center"> <div id="content-container-center">
<div id="choice"> <div id="choice">
<div class="choice cats"> <div class="choice java">
<div class="label">Cats</div> <div class="label">Java</div>
<div class="stat">{{aPercent | number:1}}%</div> <div class="stat">{{aPercent | number:1}}%</div>
</div> </div>
<div class="divider"></div> <div class="divider"></div>
<div class="choice dogs"> <div class="choice dotnet">
<div class="label">Dogs</div> <div class="label">.Net</div>
<div class="stat">{{bPercent | number:1}}%</div> <div class="stat">{{bPercent | number:1}}%</div>
</div> </div>
</div> </div>

View File

@ -88,12 +88,12 @@ body{
text-transform: uppercase; text-transform: uppercase;
} }
#choice .choice.dogs{ #choice .choice.dotnet{
color: #00cbca; color: #00cbca;
float: right; float: right;
} }
#choice .choice.cats{ #choice .choice.java{
color: #2196f3; color: #2196f3;
float: left; float: left;
} }