Posts by Dsouza • 36 points
6 posts
-
0
votes1
answer48
views -
0
votes2
answers369
viewsA: Center an element with position Absolute
You can use percentage combined with Calc in your css to calculate the ratio. ex: .box { position: relative; width: 100px; height: 100px; border: 1px solid #000; } .box .btn { position: absolute;…
-
1
votes1
answer25
viewsA: Jquery/Javascript Display one of two items randomly on each access
If your idea is that the same person sees randomly, the solution that comes to mind is the cookie or location Torage, so you keep key with the number 1 on the first access and put a logic var num =…
-
-2
votes1
answer95
viewsA: Product card with "Learn More" - Breaking
I don’t know if you’re using Bootstrap, if you are, ultilize the grids to split your layout, e.g.: NOTE: Expand the screen to see the divisions correctly. <!-- Latest compiled and minified CSS…
-
1
votes2
answers184
viewsA: Change background and color input password in bootstrap 3
Make sure when you put "!Port" it works. It may be that the element is related to country elements and you have to mount the tree following the parent to the child element, ex: Body>. parent>.…
-
0
votes2
answers417
viewsA: Jquery function . load however inside the document
It would be easier for you to use a combination of jQuery and css. You can hide #preset 1 with display:None in your css and use jquery to show there. $('button.btn').click( function(){…
javascriptanswered Dsouza 36