zurb-foundation

Change order for Foundation small-12 column

馋奶兔 提交于 2020-01-02 01:37:26
问题 I have a layout with an image to the left and a text on the right for medium and large views. I want to the text to be BEFORE the image on "small-12" though. The pull/push mechanism does not seem to work with "xxx-12" columns. These are my divs: <div class="large-4 medium-6 small-12">Image</div> <div class="large-8 medium-6 small-12">Text</div> 回答1: Here you go. You are missing columns. You want to order the small content first. Then push pull http://cdpn.io/xfJph 来源: https://stackoverflow

Azure Websites and Sass

流过昼夜 提交于 2020-01-01 03:53:05
问题 I have been trying to find if there is a way to support sass with a windows azure website? Can someone point me to some documentation or let me now if this is even possible. I am specifically looking to support Zurb Foundation responsive framework which is built on sass(scss). I already do this by using the complied css files with an override css file. I would like to use the semantic styling of sass if possible. Thanks 回答1: Yes. But there are a few hoops because of Sass/SCSS. By default,

Foundation with Laravel and Elixir

江枫思渺然 提交于 2019-12-31 22:39:35
问题 How should one use Foundation with Laravel? I thought I'd install Foundation in vendor folder with bower install foundation . This results into having a vendor/bower_components folder where I have Foundation and all required libraries such as jQuery. What should I add in gulpfile.js for Elixir to interpret this correctly? It should be possible to update Bower components install new Bower packages modify Foundation Sass variables without these being overwritten when updating use Compass In a

How to use Rails 5.1.0 and jQuery

被刻印的时光 ゝ 提交于 2019-12-31 21:35:41
问题 I started using Rails v5.1.0 which I understand comes without jQuery as a default, however want to install jQuery to work with Zurb Foundation 6. What's the best way to set this up as foundation is not currently loading modals? 回答1: Summary: Install Yarn yarn add jquery Add jquery to application.js manifest file ~~~ I came across this problem today as well. In this article about using ActionCable with 5.1 I learned that the new way to get JQuery in your app is to use Yarn which is a

Google Maps API v3 + Foundation 4 Reveal modal not displaying properly

倾然丶 夕夏残阳落幕 提交于 2019-12-31 02:55:13
问题 Before we begin I just want to make clear that I have already read the following SO articles top to bottom, tried to replicate the solution, and so far cannot. Google Map API in Foundation reveal modal not displaying properly Google Map API inside a Reveal Modal not showing fully How to use google.maps.event.trigger(map, 'resize') As well as Zurb's Foundation Issue List here - > https://github.com/zurb/foundation/issues My issue seems to be identical, and I even checked his source code at

Best practice for Laravel 4 + Zurb Foundation 5?

大兔子大兔子 提交于 2019-12-30 17:36:06
问题 TL;DR: what is the best way to arrange files, package managers and build tools for Laravel 4 + Zurb Foundation 5 combo (with Compass) as one consistent repository with clean public (static) section? I wanted to start a fresh project, based on latest Laravel on the backend side and using Foundation for the frontend. I am new to both of these and apparently I missed some of the tooling that was developed meanwhile when I wasn't doing PHP for some time. My confusion: Laravel uses Composer for

sass error compiling zurb foundation with !global variable flag

泪湿孤枕 提交于 2019-12-30 07:33:28
问题 The ' rake --trace assets:precompile ' command gives the following error: rake aborted! Sass::SyntaxError: Invalid CSS after "...ules: $modules ": expected "}", was "!global;" (in app/assets/stylesheets/foundation_and_overrides.scss:13) foundation-rails-5.5.0.0/vendor/assets/stylesheets/foundation/_functions.scss:13 foundation-rails-5.5.0.0/vendor/assets/stylesheets/foundation/components/_global.scss:5 foundation-rails-5.5.0.0/vendor/assets/stylesheets/foundation/components/_grid.scss:5

bower command not found windows

爷,独闯天下 提交于 2019-12-28 03:20:13
问题 I am having huge problems trying to use bower (to install foundation 5) or get anything bower related to work on the command line. I've installed ruby 1.9.3 git (with run from command prompt option) Nodejs I've successfully ran npm install -g bower grunt-cli gem install foundation and these have ran fine. I've looked in the npm/node_modules directory and I can see bower folder in there. Every time I type bower either into the cmd , ruby cmd or git bash I get command not recognized I've set

How can I use two css frameworks in one rails app? (Using foundation and bourbon neat on same app)

你。 提交于 2019-12-25 16:44:51
问题 I have a rails app that was built using foundation 3 (not using the gem. It is located in vendor/assets/stylesheets/foundation.min.css). And I want to gradually convert my styling code to Bourbon/Neat. One thing I have to have in mind is not to break the previous layouts while I'm not done with the recoding. Is it possible to do this? rails version: 3.2.13 ruby: 1.9.3 回答1: For any given page in your app, you can include whatever styling you want by including the stylesheets on that page. So

Foundation 6 Sticky element in Angular2

自古美人都是妖i 提交于 2019-12-25 09:28:00
问题 This question build one of my earlier questions: ngOnDestroy and $('#element').foundation('destroy'); I'm basically trying to make Foundations Sticky work in my Angular2 application. Apart of the issue that I can't destroy the Foundation element, using ngOnDestroy() , I struggle with the Sticky element in general. What I have is this: Component Template <div id="wrapperDiv"> <div class="columns medium-2 no-pad-left" data-sticky-container> <div id="myStickyElement" class="sticky" data-sticky