Questions tagged as 'css'

2
answers

Only stylize if the element belongs to a class

Good afternoon, friends! I would like to know how I can make a FontAwesome icon receive formatting ONLY if the HTML element belongs to the status class. With different styles for 3 FontAwesome icons, with the same class social...
asked by 11.09.2017 / 23:24
2
answers

Is it possible to simulate safari on windows? [closed]

I wanted to know if there is any way to simulate safari on windows, because in some situations the layout that is applied in chrome does not work right on the safari. With this I wanted to know if you have how to use the safari without necessari...
asked by 21.08.2017 / 16:07
3
answers

Color property in css not working in IOS Safari

I have <div> with a <p> tag containing a phone number. In CSS I have the property with color: #000 . However, only in Safari, it is not working. The phone is white. It's like Safari was putting the color on its own....
asked by 04.06.2014 / 15:28
3
answers

css alignments

My case is as follows: ButIwanttoleaveitlikethis: HTML <div id="problema"> <div id="verificar" style="width: 500px; height: 100px;"> <h1 style=" clear: both;position: relative; display: table; " >Log<...
asked by 01.08.2014 / 22:37
2
answers

How to drag elements using dragSort inside a div with scroll?

I need elements to be dragged only within a div that has scroll. For example: HTML <ul id="list1"> <li><div>1</div></li> <li><div>2</div></li> <li><div>3</div&...
asked by 20.06.2014 / 19:48
2
answers

Help in javascript and asp.net mvc

In my project I have a field that is the Status of a given occurrence. That is, whether it is pending or resolved. I made a function in javascript that, when clicking the input field that is in readonly mode, changes the background. I mean, if t...
asked by 02.06.2014 / 20:16
2
answers

Find html element in css

I need to find a specific element of what's in my code in html only in css, exemplifying: What to do type: meuElemento [type=input]{ color: #FFFFFF; } I'm not sure what to do, but I do not know how to do it. How can I do this? I a...
asked by 09.05.2018 / 15:08
1
answer

Attribute with 2 words does not handle CSS

Hello, because this attribute using 2 words does not catch, and what I use only 1 word takes <li data-nome="testejunto">Teste</li> Sample that attaches: .item[data-nome=testejunto] { background: black; height: 100px;...
asked by 05.03.2018 / 21:36
3
answers

Resize images using Bootstrap

I have an image of 400px by 400px, and I want to display it as if it had 200px X 200px. What is the ideal way to do this using Bootstrap?     
asked by 08.08.2014 / 16:16
3
answers

Horizontal line in the middle of an unordered HTML list

I have an unordered list that has some list items, and I would like to put a horizontal line (horizontal rule < hr >) in it, right in the middle, with a height of 2px. I tried to vertical-align: middle but the line stayed on top of...
asked by 02.04.2014 / 19:50