Questions tagged as 'css'

3
answers

How to create an image effect raise by hovering the mouse over

I'm new here and I'm basic at CSS . I would like to know how to create an effect that, when hovering over the image, it raises a little.     
asked by 21.04.2014 / 02:30
1
answer

Banner floating sidebar with Jquery with scroll

It's the following .. I have a floating banner on my blog that uses the following JS $(function(){ var jElement = $('.element'); $(window).scroll(function(){ if ( $(this).scrollTop() > 2000 ){ jElement.css({ 'posit...
asked by 28.02.2015 / 00:17
3
answers

Never ever use inline styles?

For example, tag canvas : I saw some tutorials on YouTube, and almost all of them used like this: <canvas height="" width=""></canvas>. So should I use in HTML, inline , as above, or as in the example below, in CSS?...
asked by 24.08.2017 / 23:18
2
answers

How to include Bootstrap's Glyphicon inside the "input / input" tag?

With the following code: <a href="#" class="btn btn-primary"> <span class="glyphicon glyphicon-pencil"></span> Editar </a> I can create buttons like these:    ButIcannotdowithinput:<inputtype="submit" class="...
asked by 22.05.2014 / 18:36
2
answers

Image distortion with CSS?

I'm in a project where the responsible designer gave me the following layout to go to HTML + CSS: Can anyone tell me if I have a way to do this with CSS3? I initially thought of a box-shadow, but it has no way to implement the way it was...
asked by 03.05.2014 / 15:47
3
answers

How big is the line break?

Hello, I would like to know if there is a default size for the line break in HTML ( <br> ), whether it depends on the size of the font being used and how to change it.     
asked by 31.03.2015 / 18:38
2
answers

Responsive Font

I'm doing a theme for wordpress and I put the font with the size of 5em which is around 80px , but when I test on my cell with 320px wide, the font is broken and ugly, I wanted something that would make the font automatically fit in...
asked by 26.07.2016 / 16:29
3
answers

Vertical slide navigation including highlight thumbnails

There is a slider here on this site that has a vertical navigation that sits on the right side, which includes the thumbnails of the previous slides and also the following slides. I would like an example to replicate this effect and I would...
asked by 13.06.2015 / 01:32
3
answers

Align span right inside div

I'm wondering how to align a text within the span by example: This is my HTML Ineedtoleaveitlikethis,right-alignedleft-handtextandleft-alignedright-handtext,asanexample: HTML:<divclassName="viewInstrument-output"> <div classN...
asked by 16.05.2017 / 13:59
3
answers

How to put icon inside input using Awesome Font?

I'm trying to do a search field with an icon using Awesome Font, I want it to look like this: Butitlookslikethis: What is the best way to put button within input ? HTML : <form> <input type="search" /> <bu...
asked by 20.10.2014 / 02:53