When comparing Stylus vs LastPass, the Slant community recommends Stylus for most people. In the question“What are the best Chrome add-ons?” Stylus is ranked 23rd while LastPass is ranked 27th. The most important reason people chose Stylus is:
Stylus has an extremely terse syntax. Colons, semicons and braces are all optional allowing you to write Stylus code however you want. hover-darken(percent) if @background &:hover background: darken(@background, percent) .test background: blue hover-darken(50%) The hierarchy is required to be whitespace indented which makes it easier to identify which parent selectors child selectors belong to.
Ranked in these QuestionsQuestion Ranking
Pro Clean syntax
Stylus has an extremely terse syntax. Colons, semicons and braces are all optional allowing you to write Stylus code however you want.
hover-darken(percent) if @background &:hover background: darken(@background, percent) .test background: blue hover-darken(50%)
The hierarchy is required to be whitespace indented which makes it easier to identify which parent selectors child selectors belong to.
Pro Powerful feature set
Not only does Stylus support all the features from Less and Sass, it provides features not found anywhere else:
- You can get properties from parents and pull them into children and/or mixins - if the property isn't found, it will bubble up until it finds a match
- Introspective API, where a CSS block can tell if it’s at root level or not and change its output based on this
- Splats - taking variable amount of arguments in as an array
- Automatically vendor prefixes @keyframes
- Pass a CSS literal block wherever you want
- Convert files to base64
Pro Transparent mixins
One of Stylus' distinguishing features is transparent mixins: reusuable, possibly dynamic styles that look exactly like native CSS properties. This is particularly useful for using future non-prefixed properties and having them transparently expand to their prefixed counterparts without any special, preprocessor-specific syntax.
Pro Powerful @extend support
@extend gives inheritance and unlike for other preprocessors, you can pass any CSS selector, not just classes.
Pro Awesome error reporting
Stylus has clear and detailed error reporting that includes stack traces and line numbers.
Pro Lots of mixin libraries
Nib is Stylus's answer to Compass, but with the advantage of transparent mixins.
Ride css add dozens of useful mixins to Stylus. Compatible with axis, nib and other mixins libraries.
Roots is a awesome toolkit that contains a CSS library for Stylus that provides the benefits of Nib and more. It is essentially a collection of mixins that add a variety of enhancements to the Stylus workflow.
Pro Convert files to base64
Stylus can also convert files to base64 which provides the following advantages:
- Easier to maintain
- Gives you the cleanliness of a URL link resource as well the benefits of base64 encoding
- Reducing the number of requests
Pro Can do rgba(#hex, alpha)
Pro Easy to integrate in projects already using npm
Stylus runs on node.js which makes it very easy to integrate into your project if you're using npm.
Pro Easier to learn than some of its competitors
Pro Large set of built-in functions
Functions like max(), min(), sum(), all collour handling functions are all there.
Pro Great documentation
Pro Automatic cloud backup and cross-device sync
LastPass keeps an encrypted copy of all passwords locally as well as an encrypted copy on their servers. That way, passwords can be accessed locally while offline, or through their server while online from any machine.
Pro Multifactor authentication
LastPass offers multiple multifactor authentication options, including Google Authenticator, Grid Multifactor Authentication, Microsoft Authenticator App, Toopher Authentication, Duo Security Authentication, Transakt Authentication, Sesame Multifactor Authentication, Smart Card Authentication and Yubikey Multifactor Authentication.
Pro All encryption and decryption is done locally
All the encryption and decryption is done by the client (JS/App) so even LastPass doesn't have access to passwords.
Pro Seamless autofill and password generator via plugins for all popular browsers
All common browsers, including Opera, have plugins that allow automatically filling in forms and generating passwords. All form fill information syncs across all platforms, devices and browsers. Password generator can be adjusted to use or exclude certain characters and patterns.
Pro Works with portable versions of Chrome and Firefox
Firefox 2+ on Windows, Mac & Linux as well as Chrome 4+ on Windows and Linux support a portable version of LastPass. Great for securely accessing LastPass Vault from public or untrusted computers.
Pro Automatic security monitoring
LastPass will check for re-used and unsafe passwords.
Pro Works on Linux
LastPass alongside KeePassX are the only cloud-syncing password managers that work on Linux.
Pro Does not require a standalone app
While many password managers require a standalone app to be installed on the system, LastPass does not and can function via browser plugins.
Pro Fingerprint verification
Some fingerprint readers, like TouchID on iOS, Samsung, Sony Xperia, or LG Mobile devices, can be set up to be used to access LastPass instead of a master password.
Pro Password one-click change
LastPass is able to change your password automagically.
Pro Clean and intuitive UI
Since version 3.0 the LastPass interface is clean and easy to navigate on all platforms.
Pro Allows sharing passwords with one person or a group of people
LastPass allows sharing login data for a site with another user of LastPass without exposing the password. Great for allowing friends, family or coworkers access a site.
Pro Password security check up
Gives score based on password use and strength. Score is bad on other LastPass users and denotes where you fall in that group.
Pro Offers multiple export options
LastPass can dump the whole database as a .csv file or an encrypted file that can then be decrypted using LastPass Pocket as well as separately export Wi-Fi passwords and autofill information. Additional export options are available on a per-browser basis.
Pro Can create one-time passwords for accessing the Vault
LastPass allows creating passwords for accessing the LastPass Vault that can only be used once. Great for accessing the Vault in public or untrusted places.
Pro Yubikey support
LastPass offers multifactor authentication via Yubikey.
Pro Vetted by Steve Gibson
Steve Gibson is a well established security researcher best know for his work with Apple and Atari systems as well as founding Gibson Research Corporation. He was given access to LastPass' source code and confirmed that it's safe to trust its security.
Pro Allows downloading an encrypted database backup that can only be decrypted with LastPass Pocket
LastPass Pocket is a standalone personal database decrypter. It's a portable executable, meaning it does not need to be installed, that is used to decrypt a local encrypted copy of the password database.
Pro Has native integration via app for Android
Fills in passwords in android apps without loading into LastPass directly.
Pro Works even with browsers that don't support plugins
Via a clever use of bookmarklets, LastPass works on browsers that don't inherently support bookmarklets, like Opera or Safari on iOS.
Pro Military grade encryption
Pro Credit monitoring in US
LastPass can be set to notify if a user's credit report suddenly changes.
Pro Great free features
A large amount of features for the free version.
Pro Works with Windows applications with native app
Can record the steps and use it to login to native Windows apps.
Pro Full integration on iOS
Along with apple’s own key manager, LastPass is the only password manager on iOS with full, complete, subsystem access.
Fill passwords in any web browser
Full passwords in most apps
Con Community is weak, feels more like a pet project
Con Not under active development
Development of stylus has stagnated, there are lots of known bugs and it does not work well newer features like CSS Grid or custom poperties. See https://github.com/stylus/stylus/issues
Con Ambiguous syntax
The Stylus syntax is very loose and that leads to ambiguity where some definitions can mean different things. For example, hashed objects cannot be used when you choose to omit colons in your definitions, because the dot notated object getters could also be a nested class selector. As a result, you lose being able to use hashed object getters if you decided to write Stylus without colons.
Con Not as popular as Less and Sass
Stylus is younger than both Less and Sass, and not yet at the same level of popularity. As a result, Stylus currently has a smaller and less active community than the two more popular options.
Con Inconsistent style/flavour in different projects
Due to having such a loose syntax, the coding style can vary between different Stylus projects, making it hard to apply styles from other projects that use a different syntax style — at least if you care for consistency.
Con Heavily reliant on whitespaces
Stylus relies heavily on whitespaces to separate and define code blocks. While this makes for a cleaner syntax, it's also easier to make mistakes when indenting stuff, especially when working with someone else's code where you don't use the same style of indentation.
Con Not free/libre
This application is proprietary, and thus cannot be modified, freely distributed, or trusted to be secure.
Con Forced cloud backup
The is no way to opt-out of saving all of passwords on LastPass servers.
Con Has been hacked before
And becomes extra bad as you are forced to have everything at one central cloud place.
Con When generating passwords, LastPass tends to put the wrong info in forms
For forms with both an email address and username, LastPass tends to mix up and overwrite information.
Con Forgets to ask "add new site?" on some websites
So you are forced to add a new site manually, which takes too long (relatively speaking).
Con Somewhat poor customer service
LastPass maintains a support forum which they mostly ignore, labeling it "mostly peer-to-peer support" leaving only their e-mail ticket system to turn to.
Con Very bad UX for sharing passwords with other people (in free version)
When on lastpass.com you update the contents of a password file, it gets updated only on your side, not on the side of people it is shared with (and the UI does not tell you anything about this).
Also, when you want to share a password file with someone, they often have trouble accessing it (bugs in registration or acceptation of the shared document).
Con Recently doubled annual subscription rates
This applies even if you're a re-subscribing customer.
Con Rates are ridiculous for one user
They cut services and increased prices after they were purchased by LogMeIn.
Con History of bad support for the company behind LastPass
You never know how much you will pay for it because LogMeIn did the same with Hamachi product. Support will be bad.
Con Doesn't always log out when idle
This issue is especially common with the mobile app.
Con During login, application loads for a very long time
Con No longer free
Least expensive plan is $2/month. Formerly, the lowest paid tier allowed sharing with family members. Now there's a family plan for $4/month.
Con Domain & path matching is overly complex
I want simple "this domain (along with its subdomain) should match these". There are features for that - "Equivalent Domains" & "URL Rules". But still I can't get it working for certain items, so that I have to duplicate them.
Con Randomly loses custom/extra fields/passwords
Sometimes they get wiped. Don't forget to copy them into the notes section in the first place, which seems to be generally stable.
Con Inconsistent categories
They get shuffled around. E.g. once a top level "_None" category was introduced by itself. Still couldn't get the hang of it.
Con Mobile apps are not intuitive
There are large differences between iOS and Android; as well as from the base desktop and cloud interfaces. Option A doesn’t correspond to the same thing across platforms. Functions have different names on different platforms, and under different settings.