Questions tagged as 'css3'

4
answers

Is it necessary to add prefixes in some CSS properties?

In many browsers, browser compatibility prefixes are added to CSS attributes. Example: .exemplo { -webkit-background-size: 50% 50%; -moz-background-size: 50% 50%; -o-background-size: 50% 50%; background-size: 50% 50%; } But if you l...
asked by 01.02.2014 / 00:59
3
answers

How to remove the "whitespace-only text node" from the DOM that appears in the HTML

It seems that HTML by default puts damn " whitespace-only text node " between inline elements with this I get a "margin" between elements that I can not remove from DOM I know there are solutions like putting display:flex in the...
asked by 28.03.2018 / 15:31
3
answers

Placing text within an image

I have the following image and text TEST , I would like to position the word TEST where X is in the image. <img src="../Content/Images/top.png"> <label>TESTE</label> What is the best way to do this?     
asked by 30.12.2015 / 12:09
2
answers

Equivalent hide and show in CSS [closed]

The code below does not run on all browsers: <button id="btn"> <img class="" src="/img/icone-formation.png" height="100%" width="100%" onclick="document.getElementById('f1').style.display...
asked by 17.01.2016 / 21:08
3
answers

Declare Css for multiple identifiers

I have some divs where your Css are the same, but their identifiers are different due to Jquery. I need to simplify the CSS that repeat. Is it possible? See that they are all the same. <style> #owl-demo .item{...
asked by 31.08.2016 / 00:53
3
answers

Border radius does not work inside a CSS class

I'm trying to round the edges of a navigation bar through a class and it does not work. link I've marked a <ul> element with the class navbar , removed the padding, the margin and changed the font weight, even though t...
asked by 14.09.2016 / 01:20
3
answers

Div triangular with CSS3

I'm trying to create a triangular div effect to stay below a normal div like the one below. . The problem is that I am not able to dynamically set the values of border-left: and border-right: to fit in the div. Any ideas ho...
asked by 11.10.2018 / 11:25
3
answers

jquery to click and make appear / disappear different divs

I need to make clicking on the menu item, a div linked to this item appears on the screen, if I click on another menu item, the previous div disappears and the new div appears ... in the photo below the get an idea of what I need: When I c...
asked by 28.07.2017 / 14:37
1
answer

How to remove double side scrollbar?

I'm having a side scrolling duplicity problem on my page. I used the Bulma Framework. Does anybody know how to solve this? Here is the problem print: body { background-color: #f5f8f9; font-family: 'Lato', sans-serif; } aside...
asked by 17.07.2017 / 19:34
1
answer

Format CSS Button

I'm developing a web application and would like to leave my button with two visuals. A button with enter and another button longer but with the same look, same color, and wider width. But I'm not getting Lookhowthebuttonsare <buttontype=...
asked by 27.09.2017 / 23:11