Questions tagged as 'css'

1
answer

How to insert specific fonts in CSS? [duplicate]

My client has passed specific fonts to a site. These are in TTF format. I'm used to using Google's fonts and there are not any there. How can I use these fonts in my CSS or HTML?     
asked by 19.11.2017 / 22:36
3
answers

How do I open a floating div style tooltip when clicking an input?

Hello. I have a problem that I can not resolve. I have an input of type text and needed that when I clicked it open a window or floating div underneath it like a tooltip but with HTML inside it. How can I make when I click on a <inpu...
asked by 07.09.2017 / 14:51
1
answer

Is it safe to use grouped media queries?

All the topics I have found in relation to media grouped queries are for a few years. With the wide range of CSS3, are grouped queries of media queries now considered safe to use in production? Does any browser that supports CSS3 fully sup...
asked by 17.12.2017 / 17:57
1
answer

How to make element appear only to Mozilla Firefox users

I have a site that is not half misaligned in Mozilla Firefox , I tested it in some browsers, including Internet Explorer , which by the way displayed the page perfectly. > Only Mozilla Firefox has this problem. At the moment I'm kind of ou...
asked by 04.11.2016 / 07:48
1
answer

Align form items with CSS

Hello, I would like some help to align the items in the following form. I would like the labels of the selects to be above the same as the labels of the inputs. Additionally I would like the selects, the imputs and the buttons to be aligned in t...
asked by 22.08.2016 / 18:18
3
answers

DataTables highlight line with higher percentage

On my system I have a table mounted by DataTables . The data is received from the server via Ajax. Example of the data structure loaded in the table:    DDD | Processed | Approved | Percentage |       11 - 19 | 2.660 | 574 | 21.58...
asked by 01.09.2016 / 20:58
3
answers

Map with dynamic size at div height

I have a map and need it to occupy the height of the div, if I change the resolution and the div decreases the height it stays in the dynamic position. If it is an angled solution it would be ideal. <div style="width:500px; border: sol...
asked by 19.01.2017 / 18:28
1
answer

How to change the color of INPUT when it exceeds a certain number of characters?

I have this CSS of INPUT , and would like it to change the background color when it exceeds 70 characters. CSS .imv-frm-campo{ width: 95%; font-size: 20px; padding: 10px; box-sizing: border-box; color: #33...
asked by 07.08.2018 / 06:52
3
answers

CSS - Align image inside table with inline css

I need to align one image to the text of the other cell in the table. The css is inline. Here is the code: <table> <tbody> <tr> <td style="display: inline-block; width: 50px; padding-left: 30px;">...
asked by 13.04.2016 / 21:26
2
answers

Tooltip CSS transition

I want to create a tooltip (div hover in the image) with CSS and javascript , using javascript only for the div style. I have the following jsfiddle example I want to use transition in javascript (DO...
asked by 11.05.2016 / 12:17