Questions tagged as 'html5'

1
answer

Add opacity between menu and background

I have a side header and when it is displayed I need the background behind it to have an opacity, I've already tried several ways I found it on the internet, but none worked if anyone can help me I'll be grateful for the css and a picture Ima...
asked by 10.05.2018 / 22:48
1
answer

Video as Background HTML 5 does not work in Safari and Chrome on Mac

I put a background video of a website with HTML 5, I open it in Chrome and Firefox in Windows and the video scrolls normal, but when I open the Mac (Chrome version 67.0.3396.40, and Safari 11.1) the video no scroll ... Anyone know of any solutio...
asked by 10.05.2018 / 22:42
1
answer

HTML CSS - Organize images (figure) with captions (figcaption) on the page?

I'm having difficulty putting the caption inside my image, I want the caption to be at the bottom of the image (inside it), another thing is that my section.galeria is not inside my div # interface and I also can not centralize it. @charse...
asked by 13.09.2018 / 15:01
1
answer

countdown in javascript

When it comes to the "end" and I want it to change color, can you tell me how to do it? <!DOCTYPE html> <html> <head> <title>javascript</title> <meta charset="utf-8"> <link type="text/css" rel="styl...
asked by 13.06.2018 / 17:00
2
answers

Calling a function after validating a form in Bootstrap

I'm trying to do an exercise that shows values after the user has supplied the correct data in a form. I tried using <form class="needs-validation" onsubmit="calcular()" novalidate> But just clears the user data instead of doing the c...
asked by 14.06.2018 / 01:49
1
answer

Image uploading with html5 in crossfade

I have this html5 code that transitions images, what I need is to make the image go up and down inside a div and then transition the images. How could I do that? #crossfade > img { width: 100%; height: 100%; position: ab...
asked by 12.06.2018 / 13:52
1
answer

get input variable data

Speak People! I have a system that registers products and creates what I need in the data field, however in a crucial part, after I create the fields I need it generates input with these fields! The problem is: When I send via post the input...
asked by 03.06.2018 / 20:21
1
answer

Place background image on HTML canvas

I'm trying to learn a little more about canvas for games in Html5. var canvas;//o elemento canvas sobre o qual desenharemos var ctx;//o "contexto" da canvas que será utilizado (2D ou 3D) var dx = 5;//a tava de variação (velocidade) horiz...
asked by 01.05.2018 / 23:30
1
answer

Dynamic form javascript

I have a project in which the form has to be dynamic, for example when filling name and age appears other fields like address and so on, I would like some hint how to do this with javascript / jquery. <div id="main"> <form action=...
asked by 01.05.2018 / 01:40
1
answer

Set as values values with two decimal places in input html5

I have a numeric input, and I would like it to be valid only in the pattern, values with .xx (dot plus two decimal places). My code: <div> <label for="valorTr> Valor: </label> <input type="number" pattern=" " id...
asked by 29.04.2018 / 21:46