Questions tagged as 'less'

2
answers

Problems with positioning with columns in Bootstrap 3

I'm having a positioning problem with the bootstrap grids I'm doing a virtual store where the layout has to look like this: Butwithmycodingitlookslikethis: Notethatinthisimagethewinesdonotformthethreecolumnsandareonebelowtheotherfollowsmycod...
asked by 26.06.2016 / 17:39
1
answer

How can I use a less variable to give the source address?

In my less file I have a variable named @address with the main address where the fonts are, I have several fonts and I need the directory at all with that variable , but it does not work. One of the lesser fonts @font-face { font-fa...
asked by 12.04.2016 / 17:11
1
answer

How do I use a mixin created in another file?

I have a question about using mixin of less in different style sheets. I have 2 initial stylesheets: reset.less and styleguide.less I would like to know how I can in styleguide.less set a mixin title . And in reset.less just u...
asked by 05.03.2015 / 16:27
2
answers

I can not remove standard background

Next, I'm using a wordpress plugin to organize the dishes of the restaurant menu, this: (food-and-drink-menu - url: link ) Well, come on! The plugin settings are very simple and by default it adds a light pink background, as follows: ( link...
asked by 03.07.2018 / 19:59
1
answer

Problem in hover effect with less

I'm trying to make an effect of hover to add a background-color to my image but it does not work it creates background-color behind the image I needed it to stay in front I'm using less to do this follow my code LE...
asked by 29.01.2018 / 15:49
1
answer

Problem changing menu colors with bootstrap-less 3.3.7

I'm doing a site with HTML5 and bootstrap-less everything works normally but I needed to change some colors in the navbar menu and I know I can do it through variables.less inside this file I navigate to the menu part...
asked by 21.12.2017 / 20:40
1
answer

Calculate using mathematical operations in LESS

I'm trying to add a number with a string and LESS is not interpreting as I wanted, see example: @screen-sm: 768; @screen-md: 1024; .col-tablet(@rules) { @media (min-width: @screen-sm+'px') and (max-width: @screen-md+-1+'px') { @...
asked by 06.08.2017 / 03:42
1
answer

Mixin in LESS for the "calc ()" function of CSS, how to use two variables?

I have this mixin that works perfectly: .calcW(@valor2: 100px) { width: -o-calc(~"100% - "@valor2); width: -webkit-calc(~"100% - "@valor2); width: -moz-calc(~"100% - "@valor2); width: calc(~"100% - "@valor2); } I would...
asked by 18.11.2016 / 16:46
1
answer

How to use the calc () Attribute in the LESS Preprocessor

When using the calc () attribute in LESS, I encountered the following problem: When compiling the code height: -webkit-calc(100vh - 6em); the output resulted in the calculation of 100 - 6 and adds the unit of the first value to the...
asked by 13.10.2015 / 16:14
1
answer

Calculations with Less css

I have the following mixin: .mixin-loop (@i) when (@i > 0) { .navigation .dropdown > li:nth-child(@{i}) { .vendor(animation, new-menu 200ms ease-in-out forwards); } } Being that .vendor just a mixin for vendors: .ve...
asked by 31.03.2017 / 19:42