Questions tagged as 'html5'

1
answer

Get the color of an area or specific coordinate of a PNG image or JPG when clicking

I need to get the color of an image in an exact coordinate where the user clicks, I need this to be possible with png, jpg or svg format images.     
asked by 17.10.2018 / 17:46
3
answers

Change background of the navbar

I have a bootstrap navbar (download the CDN to set all the changes on the page with bootstrap). The problem is that I can not change the background of this, no matter how much I get into their classes and use! Important, I checked with the eleme...
asked by 02.09.2018 / 20:39
1
answer

Simplify CSS

I have a margin like this ( Fiddle example ): .menu--margen { background: #f4f4f4; border-right: 1px solid #bbbbbb; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; border-bottom: none; margin: 3px auto;...
asked by 11.04.2016 / 22:03
3
answers

Special PHP characters

Good morning, today I come with a small problem that is this echo $consulta; to which he replies with: SELECT SUM(carrito_cant) as cantidad FROM carrito_tb WHERE carrito_folio='3041M�Ra' and carrito_NP='NA'; Devido to the character or...
asked by 10.02.2016 / 00:27
1
answer

Parallelogram css

I'm trying to do a parallelogram but I do not know how to do exactly what I want. I have seen some that resemble quite what I want to achieve. #paralelogramo { width: 150px; height: 100px; background: #bdc3c7; -webkit...
asked by 23.10.2017 / 12:16
2
answers

float the elements to the right in correct order css

I have four elements of a menu the first on the left the other three on the right, but when floating ul li float:right; the elements are positioned in a disorderly manner. [Menu3] [Menu2] [Menu1] But the elements should be di...
asked by 24.08.2016 / 15:54
1
answer

Problems with button of google design material

I have a button to upload images in my web project; in Chrome and Microsoft Edge it works, but in Firefox it does not. Clicking should open the window to find the image to upload as it does in other browsers. My HTML code: <button...
asked by 29.03.2016 / 02:14
1
answer

How to align right css?

Good I'm doing a design in css, it's practically a circle and inside the circle to enter a number, the bad thing that when I do all the circles I do it down. I would like you to place as the last bone image on the side Here is the code in css...
asked by 25.05.2018 / 07:27
4
answers

Change margin-left according to the coordinates where you clicked

I want that when I click on the screen I take the coordinates and those coordinates are placed as a value for the margin-left. This is my javascript code. function coordenadas(event) { x=event.clientX; y=event.clientY; document.getElementBy...
asked by 30.03.2017 / 16:51
2
answers

Error creating effect with css

I want to make the following design with css, but it does not work for me. This is my code. .card-face-path { background: -webkit-repeating-linear-gradient(#BA68C8, #BA68C8 3px, transparent 3px, transparent 6px); background: re...
asked by 26.04.2017 / 02:07