Пример #1
0
 private function _init_stylesheet()
 {
     $this->stylesheet = new Stylesheet();
     $breakpoints = Responsive::get_breakpoints();
     $this->stylesheet->add_device('mobile', $breakpoints['md'] - 1)->add_device('tablet', $breakpoints['lg'] - 1);
 }
Пример #2
0
 protected function init_stylesheet()
 {
     $this->stylesheet_obj = new Stylesheet();
     $breakpoints = Responsive::get_breakpoints();
     $this->stylesheet_obj->add_device('mobile', $breakpoints['md'] - 1)->add_device('tablet', $breakpoints['lg'] - 1);
 }