Skip to content

Instantly share code, notes, and snippets.

View fyalmeida's full-sized avatar

Fabricio Almeida fyalmeida

  • BkSoft
  • Cuiabá, Mato-grosso, Brazil
View GitHub Profile
@fyalmeida
fyalmeida / login.css
Last active June 2, 2022 00:17
Formulário de Login Responsivo
.login-body {
overflow: hidden;
margin: 0 auto;
position: relative;
height: 100%;
}
.login-body .login-image {
height: calc(100% - 380px);
background: url("../../layout/images/login/bg-login.jpg") no-repeat;
@fyalmeida
fyalmeida / colspan-angular.ts
Last active May 26, 2022 19:37
Como adicionar dinamicamente colspan a diferentes <th> na tabela (ANGULAR 4 +)
Como adicionar dinamicamente colspan a diferentes <th> na tabela (ANGULAR 4 +)
No TS crie um array e passe as seguintes informações.
array: any = [
{colspan:1,name:'NOME TH 1'},
{colspan:3,name:'NOME TH 2'}.....]
Em seu código HTML:
<tr>