Questions tagged as 'css'

2
answers

Sub-menu takes up while taking Javascript mouse

I'm developing a web application and when I hover the mouse over the Enter / Register it shows me a submenu  with some links, but when I go to one of the submenu links, the submenu disappears, how can I solve this problem? $(document).read...
asked by 02.02.2018 / 20:51
1
answer

How does the browser read and interpret css? [closed]

I'm starting this Front world and I read that the browser reads and interprets css from right to left. But as it reads and interprets when the cascade of classes exists, just as in this example: .classe-A .class-B #id-A span p { co...
asked by 07.02.2018 / 19:55
2
answers

Prevent browser autocomplete [duplicate]

Is there a way to prevent, through code, the browser from making suggestions for filling in the login form? Is that the system will be used in laboratories and would be annoying the browser to suggest all previously registered CPF. In addit...
asked by 22.02.2018 / 19:40
1
answer

Image within an SVG

I'm using a svg, and inside it placing an image I get from a variable by AngularJS. So far so good, the image appears normally, but I want to leave it with 100% width. I've tried everything and it does not work. Does anyone have any ideas? <...
asked by 14.01.2017 / 13:16
1
answer

How to centralize a card panel in materialize css?

I have the following login form inside a card panel: WhatcouldIdotocentermycardonthepage?ThisisthecodeIhavesofar:<divclass="input-field col s12"> <input id="user_name" type="text" class="validate" required> <label for="use...
asked by 22.03.2016 / 22:16
1
answer

Turning Javascript code into HTML?

I made a banner in the bannersnack site to be used in the eBay Marketplace, the site of the option to download the banner in GIF, PNG, JPG and HTML5 and makes available the code in JavaScript as well. The GIF does put it in eBay, however...
asked by 17.12.2015 / 19:46
1
answer

Does anyone know how I can assign a border in a triangle made with css?

The code is this: div { width: 0; height: 0; border-style: solid; border-width: 0 40px 30px 40px; border-color: transparent transparent #007bff transparent; } <div/> I want to create a border on it....
asked by 25.07.2016 / 23:28
1
answer

Redo loaders from SASS to CSS

Someone can help me I have this code using SASS but as I'm developing in Synfony I have not been using SASS for a number of reasons. The code is this: insert link description here Can you help me do something like this with CSS?     
asked by 01.12.2015 / 19:00
2
answers

How to make an element follow the scroll bar?

How do I get my menu set according to the scroll? I made a snippet to exemplify the code. I open the menu, when I roll the page it stays in its position. I want the menu to follow the scrolling of the page. How can I do this? var n...
asked by 11.02.2016 / 20:38
1
answer

How to override CSS from PrimeFaces added via Maven?

I'm using MegaMenu in my project, but its options are much larger than the width of the columns of this component, so the menu options go beyond the area intended for them, which looks really ugly. I added primefaces via Maven. How do I chang...
asked by 11.02.2016 / 23:58