Questions tagged as 'html'

2
answers

Div effect to show two images, half-a-half

I need to make an effect like this example : WhatIrealizedbypassingthedebugisthattwoimagesareonedivwithintheother:<divclass="box-image-differ" style="width: 620px; height: 366px;"> <img src="http://f.i.uol.com.br/folha/ilustrada/i...
asked by 23.07.2015 / 15:11
2
answers

Get select selected (only getting first value)

An alert is displayed (with the sweetalert plugin) and in this alert has a select with names. After selecting the name, the person has to click the Add button, when the person clicks the function of the code below is executed and...
asked by 01.11.2015 / 02:29
3
answers

How to leave vertically self-adjusting DIVs?

I'm having trouble trying to leave some% s of self-tuning% s vertically. Thereisspacerequiredforthedivtobeexactlybelowtheoneaboveit,butitdoesnotrise,thereisanemptyspacebetweenthetwo.(i.e. Example in JSFiddle     
asked by 06.07.2014 / 22:21
1
answer

How to make a background of balls with CSS?

I was wanting to make a dotted background, like a lot of balls to do background of a site, Example of what I'm trying to do. IsitpossibletoachievethisresultwithCSSonlywithoutneedinganimage?Itriedwithrepeating-radial-gradient,butitd...
asked by 19.10.2018 / 19:53
1
answer

How to read content from a website in javascript?

I would like to know how to read content from other web pages using just javascript or some library. For example, from a remote news site, in the case: www.terra.com.br. And I would like to create a webapp to read the latest news presented...
asked by 03.03.2014 / 14:46
1
answer

Semantically, which tags should I use for icons?

I have a navigation menu with some icons using @font-face . Each item in this menu has: the icon (with ::before ); text, explaining the function of that link. . It turns out that when the page loads on a smaller device, I wan...
asked by 26.10.2014 / 22:11
1
answer

When should I use Data URI?

Data URI is that feature that allows me to put small inline images in CSS or HTML to reduce the number of requests. It's an alternative to the CSS Sprite. I did some testing here and I really enjoyed the performance. My question is a...
asked by 18.06.2014 / 13:10
1
answer

Element Rotation With Arrow

Asyoucanseeinthispicture,insidethedarkgrayballhasanumber.It's100.Thatmeansthepointerhastohit100there.Ifitis0,thepointermustbeinthemiddle.ThepointisthatthisNPS(NetPromoterScore)valueis-100to100.Icannotmakethecountthatmakesthispointerrotateaccord...
asked by 28.07.2016 / 21:47
1
answer

Hide divs with similar ID

I have several div tags with similar id, they all start with cn - , example: <div id="cn-name">...</div> <div id="cn-email">...</div> <div id="cn-pass">...</div> How can I interact with all of them with...
asked by 08.08.2016 / 15:50
2
answers

How to add Cardboard Mask?

I have a problem to re-adapt this function in JS. function mcc(v){ v=v.replace(/\D/g,""); v=v.replace(/^(\d{4})(\d)/g,"$1 $2"); v=v.replace(/^(\d{4})\s(\d{4})(\d)/g,"$1 $2 $3"); v=v.replace(/^(\d{4})\s(\d{4})\s(\d{4})(\d)/g,"$1 $2 $3 $4"); ret...
asked by 25.11.2016 / 16:46