Posts by Lucas Trino • 87 points
6 posts
-
0
votes2
answers7337
viewsA: How to Make Square and Responsive Divs
Well, answering my own question to third parties who in the future will experience the same doubt. Yes, the above answer is correct. Padding is always relative to width, thus placing padding-bottom…
-
0
votes0
answers266
viewsQ: Percentage problem and float: right
Hello. I need to make a menu with icons to get to the right of the Header. The icons are divs with background-image, and the measurements are relative and in percentage (%). The idea is that the…
-
0
votes2
answers7337
viewsQ: How to Make Square and Responsive Divs
I need square elements that have responsive height and width. But how do I create a responsive height that is always equal to width in %? Thank you!
-
1
votes1
answer118
viewsQ: Function parameters not previously defined
I have seen some javascript functions with parameters that are not previously defined, but still work. The doubt arose with the function below. The function myFunction() calls the method…
-
2
votes1
answer339
viewsQ: Help to understand SVG coordinates and sizing
I’m trying to set an icone.svg in the system and something went wrong: the icon does not appear on the screen... I think it might be the coordinate system. I’m having doubts about how to resize the…
svgasked Lucas Trino 87 -
5
votes2
answers45
viewsQ: Problem in solving javascript
The code below should not be executed automatically by receiving id values and assigning them to the ui array? var ui = ["input", "prompt", "heading"]; ui.forEach(function(id){ ui[id] =…
javascriptasked Lucas Trino 87