A fully responsive blog grid using pure css and a little bit of magic!
A Pen by Scott Marshall on CodePen.
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE_AFL.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php |
| //Controller Action | |
| public function find() { | |
| if ($this->request->is('ajax')) { | |
| $this->autoRender = false; | |
| $country_name = $this->request->query('term'); | |
| $results = $this->Country->find('all', array( | |
| 'conditions' => array('Country.name LIKE ' => '%' . $country_name . '%') |
A fully responsive blog grid using pure css and a little bit of magic!
A Pen by Scott Marshall on CodePen.
| .so-cl-production { | |
| padding-top: 10px; | |
| } | |
| .icon { | |
| width: 32px; | |
| height: 32px; | |
| } | |
| .icon-account-login { |
| // app.js | |
| angular.module('cs_demo', [ | |
| 'controllers', | |
| 'elasticjs.service', | |
| 'ui.bootstrap' | |
| ]); |