Questions tagged [materialize]

An open-sourced, modern, responsive front-end framework based on Material Design

materializecss

Its official website materializecss.com describes it as:

A modern responsive front-end framework based on Material Design.

This is an open-source framework under the MIT license. Its official git repository is hosted on Github.

The framework is maintained by a team of four students from Carnegie Mellon University. For more about them, visit http://materializecss.com/about.html#team.

The site has a beautiful section named Showcase where various websites/apps, which use this as a frontend framework, are listed which caters for other developers with a real-world example and inspiration.

Getting started guide

Getting Started is basically a learning guide - how to easily start using Materialize in one's website.

Inbuilt JavaScript plugins

  1. Collapsible
  2. Dialogs
  3. Dropdown
  4. Media
  5. Modals
  6. Parallax
  7. Pushpin
  8. ScrollFire
  9. ScrollSPy
  10. SideNav
  11. Tabs
  12. Transitions
  13. Waves

How can I compile my Sass

This section is only relevant if you work with the Sass version of Materialize.

First, you need to install Sass in your working directory:

gem install sass

When you have Sass installed on your project and you want to update your output .css file, you need to use the following command:

sass sass/materialize.scss public/style.css

NOTE: the second parameter sass/materialize.scss is the path to your .scss file, and the last parameter sass/style.css is the path to your output folder when the file .css file is located.

If you want to avoid this command every time when you do a change, you can run a watch command:

sass --watch sass/sass:public/stylesheets

NOTE: this command watches all Sass files in the SCSS directory for changes and then update the style file into our public directory.

Social Links

What is Material Design

Created and designed by Google, Material Design is a design language that combines the classic principles of successful design along with innovation and technology. Google's goal is to develop a system of design that allows for a unified user experience across all their products on any platform.

Principles of Material Design

  1. Material is the metaphor - The metaphor of material defines the relationship between space and motion. The idea is that the technology is inspired by paper and ink and is utilized to facilitate creativity and innovation. Surfaces and edges provide familiar visual cues that allow users to quickly understand the technology beyond the physical world.

  2. Bold, graphic, intentional - Elements and components such as grids, typography, color, and imagery are not only visually pleasing, but also create a sense of hierarchy, meaning, and focus. Emphasis on different actions and components create a visual guide for users.

  3. Motion provides meaning - Motion allows the user to draw a parallel between what they see on the screen and in real life. By providing both feedback and familiarity, this allows the user to fully immerse him or herself into unfamiliar technology. Motion contains consistency and continuity in addition to giving users additional subconscious information about objects and transformations.


Related tags

3559 questions
1
vote
1 answer

MaterializeCSS footer text disappearing

Upon resizing my screen, I noticed that using the MaterializeCSS footer on the very bottom made the text disappear. For example: https://jsfiddle.net/6n6a71bz/ Specifically this part:
1
vote
0 answers

Title top of modal div css

I want a title for modal widow to appear like this, ie; above the modal widow on top of overlay. .modal-content .modal_heading{ position: absolute; top:-4rem; z-index: 999999; color: #fff; …
humbleiam
  • 969
  • 2
  • 12
  • 34
1
vote
0 answers

angular-materialize DatePicker doesn't show on Edge browser, scrolls the page down on IE and Edge

I'm using angular-materialize for a demo project and so far it's been pretty easy to use. However, when doing a browser compatibility test pass I found that the datepicker component doesn't work when using IE and Edge browsers. On IE it scrolls the…
Dylan
  • 495
  • 1
  • 6
  • 19
1
vote
2 answers

After closing modal gray background remains

I`m using Meteor and Materialize. Repo. On hosting. After closing modal, gray background not disappear! You can check it on Group page. You must create group first, then click "Add participant" and close. You`ll see it. About modals on documentation…
1
vote
1 answer

Full screen modal in materialize design

I am using Materialize design. And i am implementing full screen modal. Width is spend in full screen but height is not set in full screen. I have seen one link then i want to implement like this. If any plugin and any other solution, Then let me…
Varun Sharma
  • 4,632
  • 13
  • 49
  • 103
1
vote
2 answers

materialize tabs dont work when loaded into a modal

So I have project with Materialize CSS, in my html I have button that triggers modal, and some data, including scripts with tabs, should be loaded in this modal. My code looks like this: $('.modal-trigger').click(function () { var id =…
Coffee
  • 2,063
  • 8
  • 24
  • 57
1
vote
0 answers

Materialize select how to recreate?

I came across with this issue during my work process and couldn't find any logical solution. Firstly, I have two dropdown menus. One for countries, other for cities. As Materialize converts select element into ul, thus I have two ul-s…
1
vote
3 answers

Materialize image over another

So I'm having this fiddle I am trying too keep the profile picture in middle, even when screen width gets small. The problem is with my position:absolute so margins:auto won't work. Instead I used :left:40%. Any ideas?
user6346756
  • 59
  • 11
1
vote
2 answers

Checkbox initialization (Materialize)

I have a empty page where i dinamically add the element, i'm tryng to use materialize and i have a graphic problem... I have follow the different tutorial on "http://materializecss.com/" to add the element with the correct method, but i have a…
Il_Sapo
  • 141
  • 1
  • 9
1
vote
0 answers

Dropdowns are not working with React-Router

I'm using React-Router and MaterializeCSS and seems that every hash link (href= "#") inside a navbar is being mapping in a route to a page that doesn't exist, but what I want is just to open the dropdown. How can I avoid this behavior? It just works…
1
vote
2 answers

JS Date picker with html5 required

I am trying to make a Date field required and show a datepicker on click, I am using materialize date picker. I can get a date picker to pop up, but the required html5 tag does not work. JSFiddle …
Anon957
  • 539
  • 2
  • 6
  • 24
1
vote
2 answers

Page that fit the screen without scrollbars

I'm working on my web site. If you go to the page after the login, you can see that the page scrolls horizontally and vertically. Is it possible to make the page fit the entire screen without need of the scrollbar? I'm using materialize and the…
Roberto Aureli
  • 1,428
  • 2
  • 12
  • 23
1
vote
1 answer

Materialize: How to make a play/pause button using nothing but HTML and Javascript?

I was wondering how to make a play/pause button. Currently have it working, HTML and JS is in the answer.
will0956
  • 41
  • 1
  • 8
1
vote
1 answer

fullpage.js and materialize.js; using the materialize sidenav disable mouse scrolling

I have trouble in getting materialze.js and fullpage.js working together. Here is an jsfiddle to demonstrate the problem. Fullpage.js is setup to jump in responsive mode at 640px. In normal-mode (641px and above) everythings works as expected. …
netzego
  • 372
  • 4
  • 15
1
vote
2 answers

Floating Action Button Text to the Side

I have been trying to add labels to the left of my FAB. I am liking the Material Design, but I am having an issue on getting the labels to appear properly. Any tips would be appreciated. Everything is displaying correctly except adding labels. Here…
bldev
  • 137
  • 1
  • 1
  • 12
1 2 3
99
100