Questions tagged as 'css'

1
answer

How do I undo a height assigned to a div?

I'm using bootstrap and this is my css: .painel-altura{ height: 540px; } @media (min-width: 630px) { } I would like to undo this height and leave it the size before 540px. I'm trying to use @media but I do not know how to do it! Withi...
asked by 07.02.2017 / 20:43
1
answer

How to put three dots in a word if the text overflows the page? [duplicate]

I'd like to know how to put three dots in the last word that exceeds the page limit. This image is like the current text. AndthisimageishowIwantittostaywiththethreepoints Hereistheentirearchiveofthesite link HTML: pastebin.com/JfaRD...
asked by 05.02.2017 / 16:06
3
answers

Javascript - Function that returns value of a CSS property

Good night (good morning or good afternoon) to everyone! I need a function that returns the value of a css property. Here is my code: CSS: .teste{ opacity: 0; display: none; } JavaScript: function funcao(){ var element...
asked by 12.01.2017 / 03:34
1
answer

Animation with CSS and jQuery

I'm building an alert system with jquery and css. Everything is working. But I noticed that in some browsers it's getting a bit slow. The problem occurs because the alert div moves along with the animation. Well my doubt and how to make the a...
asked by 13.01.2017 / 19:17
2
answers

Scroll Event

I'm trying to change the color of my navbar according to the page scroll, eg: It starts as transparent, but when I scroll it turns white, if I scroll up again, it becomes transparent again, but it's not rolling, it turns white when I go down,...
asked by 01.04.2017 / 18:13
1
answer

What alternative mode could be used to block the click effect on an HTML element?

Based on an example put by Sergio - How prevent a click on a link / anchor or element with event tied Example of my authorship var ancora = document.getElementsByClassName('baixar'); for (var i in ancora) { document.captureE...
asked by 02.04.2017 / 21:44
1
answer

Validation via Javascript does not work

Person, beauty? So, I have an alert div (that of the bootstrap) with the display none and visibility hidden I'm catching it by id, both in css and javascript, but it does not work. It changes the properties of the CSS but still sends the data to...
asked by 07.01.2017 / 01:38
1
answer

Better to center by margin: auto or text-align: center?

Looking for good practices in HTML, what is the best way to centralize? I see that I can centralize the menu of a page by both options, but I am in doubt as to the best form and also of which is the correct form instead of just using one that...
asked by 28.12.2016 / 02:33
1
answer

Change the color of the fullcalendar link

Colleagues. I'm using FullCalendar for a client application, but I came across a challenge. In the image below (where it is marked with a yellow circle), when there is more than one event in the day, a plus +2 link appears, where clicking t...
asked by 26.01.2017 / 16:34
2
answers

Create two lines with Owl Carousel inside a foreach

I have a loop that brings 12 images or more. Being that the presentation of these images should follow the following layout: So,assoonas"next" is pressed a new block will appear with 6 more items following the order: 7, 8, 9, 10, 11, The...
asked by 25.01.2017 / 15:04