Comments (7)
Hi, I've just noticed this as well. I'm just wondering if the Opera '3/2' pixel ratio in the media query should in fact be '1.5'? I assume it's the '/' that's causing the syntax error anyway...
from 320andup.
Youre right and there are some errors more e.g. in line 302 (missing a bracket):
Replace: .font-size(12;
with: .font-size(12);
from 320andup.
Thanks, I think I spotted that as well although it wasn't throwing up an error. All in all I'm loving 320andup though, fantastic resource!
from 320andup.
Sorry, spoke too soon - I changed it back to '3/2' and I'm getting the LESS compiler error again.
As a test I started with a clean .less file with the following code:
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) {}
This code returned the following error:
ParseError: Syntax Error on line 1 in ... style.less:1:0 1 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) {}[0m
Any ideas?
from 320andup.
You're right, but its an issue with LESS choking on @media only screen and (-o-min-device-pixel-ratio: 3/2) {}
and it's mentioned already in an issue: less/less.js#578
I'll add a comment also!
from 320andup.
Thanks for pointing that out. Fingers crossed for a fix...
from 320andup.
Thanks. Yes, this is a LESS issue. Personally, I simply remove the Opera line from my own sites. Not perfect, but hey.
from 320andup.
Related Issues (20)
- duplicate HTML declaration HOT 5
- Missing image file called in 320andup.css
- 320andup file Closing comment appears in FF and IE8 appears blank
- Showing upstart.less in Compass version HOT 3
- less files are not indented HOT 4
- humans.txt --- max line width of 40 chars?
- Mobile Safari rotation issue HOT 2
- problem compiling with winless HOT 1
- Radio and Checkboxes
- Missing clearfix HOT 3
- border-radius > rounded HOT 4
- alert-info class missing in generated css files
- scss-compass _typography.scss - typo
- @-ms-viewport rule doesn't work in WP8 IE10 HOT 1
- Border-radius in SASS version HOT 1
- code format and indentation
- BB6, all clicks halted when using ghostClickHandler
- Who is maintaining this repo now? HOT 1
- [enhancement] Add missing bower.json.
- No README.md file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 320andup.