Questions tagged as 'css'

1
answer

How to correctly position the Awesome Font icons in div?

I have some divs where some Awesome Font icons should be displayed by my css: .listing-item .listing-meta-cat a { font-size:14px; width:30px; text-align:center; margin-right:5px; border-radius:10%; display:inline; padding...
asked by 05.09.2016 / 22:17
2
answers

How do I insert an image as the background of a div?

I want to add an image as the background of a div, and for this, I'm using the following code: <div class="container"> <div class="row"> <div class="col-xs-12"> <div class="imagemDeFundo">...
asked by 14.09.2016 / 21:41
1
answer

Leave input wrapped with strokes when using Jquery Validate

I'm using the Jquey Validation plugin and I'm trying to leave the error mark in the input as in the image I'm attaching, tried some alternatives and the result was not what I expected, what I have: $("#frmLaudo").validate({ // Regras rules: {...
asked by 01.12.2016 / 17:50
1
answer

How to use the Oninput attribute?

I'm remembering some things in HTML and I came across the Oninput attribute. I know this attribute is for calculations, but I do not know how to use it. I already searched the net, but there is nothing in Portuguese.     
asked by 24.11.2016 / 23:08
1
answer

Responsive Menu with dropdown submenu

I'm working on a model menu and need to adjust the display of the submenu. I can not make the submenu overlap the original menu. When I hover the mouse over the submenu link, it is displayed, however, it expands not only the submenu, but also th...
asked by 15.08.2016 / 18:04
1
answer

How do I apply formatting on the parent element through the child element class with CSS or SASS?

I have the following structure just for example: <div> <div class="filho">teste</div> </div> I have class .filho with position: absolute ; I would like to know if using .filho I can also apply...
asked by 15.08.2016 / 15:53
3
answers

Align and place div over the other

Well I created a div called 'notification'. Where I will put a text and at the end of it has a menu. Everything is working fine, however when the text is too large and the screen is small, the menu button is over the text, and it is not aligned...
asked by 29.12.2016 / 11:57
1
answer

How to overlay a div in the footer of another div

Overlapping a div in the footer of another div equals content calls from WikiHow . Looking at the CSS code I noticed that position: absolute is applied to div2 positioned in the footer, but I have not seen how it is fixedly positioned...
asked by 24.12.2016 / 01:05
1
answer

CSS Inheritance

Is it possible to inherit a class from a css to another css? Ex: .div1{ background: -webkit-linear-gradient(top, #088fad 20%, #00d5ff 100%); } I wanted this div1 to inherit the class col-md-12 so that it is not neces...
asked by 25.12.2016 / 16:35
2
answers

div alignment and summarize text

1 I need to put everything inside the container-head div aligned horizontally. 2 The text of the 'c-txt' div has to be summed up with ... 3 The 'c-bt' div button must be at least 100px. Can anyone help me? follow the code. .contain...
asked by 30.12.2016 / 17:17