Questions tagged as 'less'

0
answers

Add a Parent '&' to a variable using LESS

I have a problem but I do not know if it's possible, I'm trying to edit some class by putting a & following the example: .bcolor(@prefix, @suffix) { .@{prefix}red@{suffix} { background-color: red; } .@{pre...
asked by 21.08.2016 / 00:48
2
answers

Main differences between structuring CSS with PHP and LESS / SASS

In many projects I have been writing CSS with PHP , which is a practice that is very unknown but that attends to all the dynamization needs, for example ... CSS <?php header("Content-type: text/css"); $cor_fundo = "#999";...
asked by 12.09.2017 / 15:59
1
answer

Change content by hovering the mouse on a div

I need to make when hovering on a div it changes the content on the side theimageexplainswellhowtheprocessshouldbedonewhenhoveringoverthedivshouldchangethetextsonthesidewouldliketoknowifitispossibletodothiswithhoverfollowmycode:<divcl...
asked by 14.02.2017 / 17:52
2
answers

Problem with resizing in Bootstrap

I have the following problem I'm using bootstrap in version 3 I need my page to be the same as this template: butwhenIredimensionmyimageslooklikethis: Iwouldliketheblackimagetobebelowtheimageofthewineglass,butitwilltake100%ofboththetopandbottom...
asked by 19.06.2016 / 16:36
2
answers

Overcoming an Image with DIV

Gentlemen, I am pulling some images from the database, and when the user hover over them an opaque red color will be above them, and a title and text will be shown. I did this by putting the image into a div, and inside that div I put another di...
asked by 03.09.2014 / 19:53
1
answer

Problem to convert SCSS par LESS

Personal I'm using a background made with svg from that here link though his color palette is with SCSS e I am using LESS how can I convert these elements to LESS ? I tried to put @ instead of $ but did not wo...
asked by 26.01.2018 / 12:45
1
answer

Grid problems in Bootstrap version 3

I'm having grid problems in my html with bootstrap it should be like this butinmybrowseritlookslikethis: HTML:<header><divclass="container"> <div class="row"> <div class="col-md-6"> <...
asked by 18.06.2016 / 05:38
1
answer

Problem Animation in Safari

Some time ago I noticed that in Safari the animations work in a different way. For example, if we have a text inside a span and want to hover the letters of this text decrease 1px , we set letter-spacing: -1px; . Put...
asked by 21.08.2015 / 15:58
2
answers

Use @import on less passing variable as parameter

I'm doing a mixin in less and need to use @import by passing a variable as a parameter. Example: change-theme.less .change-theme(@theme) { @import @theme; // Another code goes here } theme.less @import "change-theme...
asked by 18.03.2015 / 15:48
0
answers

Editing Grid-Framework

I'm not familiar with "less", but I work with html and css. I'm trying to edit a page written by someone else and I need to change only one value but I do not know where I can do it! Can someone help me !!? This is the value I want to change!...
asked by 22.02.2018 / 04:16