Commit ce7775e3 by Georgina Mondino

Card Styles

1 parent ab589d3b
.order-button{
float:right;
font-size:17px;
border-radius: 5px 5px 0px 0px;
margin-bottom:5%;
}
.result-container{
text-align: center;
font-size:17px;
width:92%;
padding: 2%;
margin: 1% 1% 2% 2%;
background-color: #ffffff;
box-shadow: 3px 3px 3px grey;
border-radius: 10px;
}
\ No newline at end of file \ No newline at end of file
<h1>Resultados de búsqueda</h1> <h1>Resultados de búsqueda</h1>
<button (click)="change()"> <button (click)="change()" class="order-button">
Ordenar {{ order }} Ordenar {{ order }}
</button> </button>
<!-- Esta es la card de resultado --> <!-- Esta es la card de resultado -->
<div *ngFor="let i of results" class="class-thingy"> <div *ngFor="let i of results" class="result-container">
{{ i }} {{ i }}
</div> </div>
...@@ -14,13 +14,13 @@ export class BusquedaComponent implements OnInit { ...@@ -14,13 +14,13 @@ export class BusquedaComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
this.results = [ this.results = [
"cosa1", "Cosa1",
"cosa2", "Cosa2",
"cosa3", "Cosa3",
"cosa4", "Cosa4",
"cosa5", "Cosa5",
"cosa6", "Cosa6",
"cosa7" "Cosa7"
] ]
} }
......
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
body { body {
height: 100%;
width:100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
html { html {
font-family: 'Montserrat', sans-serif; font-family: 'Montserrat', sans-serif;
background-color: #FFe8e8;
} }
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!