Posts by emilioheinz • 65 points
7 posts
-
1
votes3
answers3072
viewsA: How do a div or span occupy only the size of its internal content?
At first just put display: flex in div with width: max-content or min-content that will work. Example: HTML <div class='myDiv'>Conteudo</div> CSS .myDiv { display: flex; width:…
-
1
votes1
answer426
viewsA: Relationship between tables in SELECT - SQL SERVER
You can solve this through a INNER JOIN. Following example: SELECT bm.MA_DATA as data, bm.MA_CLINICA as clinica, bm.MA_PROFISSIONAL as profissional, ot.NOME as nomeOutraTabela FROM BASE_MARCACAO bm…
-
1
votes3
answers3126
viewsA: Mercosul standard vehicle plate?
Well, from what I can see the second regex that you exemplified is correct "[A-Z]{3}[0-9][A-Z][0-9]{2}". I believe then that the error is in the function that validates the plate and uses this…
-
0
votes3
answers887
viewsA: FIREBASE + NODEJS error: Firebase App named '[DEFAULT]' already exists
This error occurs when Voce calls firebase.initializeApp(firebaseConfig) more than once. To fix this just do the following: if(!firebase.apps.length){ firebase.initializeApp(firebaseConfig) } This…
-
3
votes3
answers1067
viewsA: Index or key in Javascript object
What you said is correct Objects consist of key: value, but think of it this way: You have several objects inside each other, ie Movies is an object that has several objects inside it (1, 2, 3),…
-
-3
votes1
answer147
viewsA: Add Animate or classes when scrolling the page and arrive in div
You need to use Javascript to detect the location of the element on the screen and activate the css animation when it is visible. Following a step by step on which you can rely to get the result you…
-
1
votes1
answer170
viewsA: Nav element alignment and float/position questions
To solve the problem of header just use display:flex. Follow an example: .container { width: 70%; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content:…