Questions tagged as 'css'

2
answers

Calling functions in ngClass

I would like to call functions in ngClass. I can only call the function, and if I want to call other classes it does not catch, its just put the function in the class it can call (ng-class="styleClass (5)"), but I want some classes always and ot...
asked by 30.07.2018 / 20:20
1
answer

Space between HTML tags

I'm a beginner in development with HTML and CSS, and I'm having a hard time understanding why html tags are a space. As in the following example where I have a header, a div and a footer with different colors for easy visualization, and between...
asked by 24.07.2018 / 02:31
1
answer

Why is not one div next to the other?

I have two div s followed, one has width 100px and the other 200px . Adding the width of the two (300px) is well below the viewport width of the screen (on a desktop screen, for example), but the second appears below the...
asked by 20.07.2018 / 02:37
1
answer

Duplicate div without duplicating JavaScript

I need the following help: I was able to put together two codes that I found on the internet, and edited the formatting to my liking. I have a gallery with images and overflow horizontally, my code works, however I need to repeat the complete...
asked by 14.08.2018 / 23:56
1
answer

Title staying outside the div

I have a div parent that contains two divs child and one of that div child contains two divs child . The title of one of these is getting out of it. I modified its size because of the available size that SO-en allows, to avoid creating...
asked by 21.08.2018 / 20:23
1
answer

Repeated data in html (ANGULAR)

I have a * ngFor that fills my html, and this data is fetched from an API, then I use schedule to reload the data every time it gives seconds = 15. Only the data is being placed below the old one in HTML. HTML <p [class]="mainColor...
asked by 22.08.2018 / 17:29
1
answer

Use javascript to trigger modal ulkit css

According to the Ulkit css documentation for displaying a modal window we have: <button uk-toggle="target: #my-id" type="button"></button> <!-- This is the modal --> <div id="my-id" uk-modal> <div class="uk-...
asked by 18.08.2018 / 20:28
1
answer

JavaScript in Image

I have the following html: <div class=" row container-fluid" id="quemsomos"> <div class="col-md-6" id="nossoperfil"> <h4> Nosso Perfil </h4> <p> descrição sobre a empresa </p>...
asked by 08.07.2018 / 06:13
1
answer

Direct to page with option already selected

I need when the user clicks a link it already directs to a page where it has a select. So far so good. The problem is to direct to this page and one of the options is already selected. For example: a { text-decoration: none; color...
asked by 05.07.2018 / 15:12
1
answer

Touch effect / click and drag with mouse

I have a gallery with horizontal scroll, I would like to know if it is possible to put a click and drag to move the scroll, like a touch dragging with the mouse. obs: images will be linked. My Gallery: function mostra(theId){ var th...
asked by 07.09.2018 / 08:37